mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 05:11:07 +08:00
11 lines
226 B
JavaScript
11 lines
226 B
JavaScript
import React from 'react';
|
|
import { storiesOf } from '@storybook/react';
|
|
|
|
storiesOf('Hello', module)
|
|
.add('Hello World', () => (
|
|
<pre>Hello World</pre>
|
|
))
|
|
.add('Hello Earth', () => (
|
|
<pre>Hello Earth</pre>
|
|
));
|