mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 05:51:07 +08:00
7 lines
206 B
JavaScript
7 lines
206 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>);
|