mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
0da53a1444
The purpose of the PR is to add the simplest possible integration with Storybook.
It leaves the default Storybook and also adds a custom component to show how it would be used in both the app and Storybook.
Update:
Tested with latest 👉 6.1.1
8 lines
138 B
JavaScript
8 lines
138 B
JavaScript
import HelloWorld from '../components'
|
|
export default () => (
|
|
<div>
|
|
<h1>Simple Storybook Example</h1>
|
|
<HelloWorld />
|
|
</div>
|
|
)
|