In addition to the Storybook for React setup, you'll also need to install these packages:
npm i -D @babel/core babel-loader css-loader style-loader
import Head from 'next/head'; | |
import PropTypes from 'prop-types'; | |
const MetaWrapper = (props) => { | |
const { | |
title, | |
description, | |
type, | |
imageUrl, | |
contentUrl, |
let printHello = true; | |
printHello && console.log("Hello"); | |
printHello = false; | |
printHello && console.log("Hello"); |
In addition to the Storybook for React setup, you'll also need to install these packages:
npm i -D @babel/core babel-loader css-loader style-loader
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0-modified | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |