diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-04-06 14:13:32 -0700 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-04-06 14:52:24 -0700 |
commit | 3cf0c3cd297b43c194d0d6820e13bcf8d8751fdc (patch) | |
tree | 3a1e411069dc439ce56baeb2c9e79ecf47da3075 /stories |
Init commit
Diffstat (limited to 'stories')
-rw-r--r-- | stories/index.stories.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/stories/index.stories.js b/stories/index.stories.js new file mode 100644 index 0000000..f4bd633 --- /dev/null +++ b/stories/index.stories.js @@ -0,0 +1,11 @@ +import React from 'react' + +import { storiesOf } from '@storybook/react' + +import { DemoComponent } from '../src/demo-component' + +storiesOf('DemoComponent', module).add('with heading', () => ( + <DemoComponent> + <h1 style={{ fontSize: '4em' }}>Hello world</h1> + </DemoComponent> +)) |