summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stories/index.stories.js22
1 files changed, 1 insertions, 21 deletions
diff --git a/stories/index.stories.js b/stories/index.stories.js
index 70d60b5..f4bd633 100644
--- a/stories/index.stories.js
+++ b/stories/index.stories.js
@@ -1,31 +1,11 @@
import React from 'react'
import { storiesOf } from '@storybook/react'
-import { action } from '@storybook/addon-actions'
-import { linkTo } from '@storybook/addon-links'
-
-import { Button, Welcome } from '@storybook/react/demo'
import { DemoComponent } from '../src/demo-component'
-storiesOf('DemoComponent', module).add('to Storybook', () => (
+storiesOf('DemoComponent', module).add('with heading', () => (
<DemoComponent>
<h1 style={{ fontSize: '4em' }}>Hello world</h1>
</DemoComponent>
))
-
-storiesOf('Welcome', module).add('to Storybook', () => (
- <Welcome showApp={linkTo('Button')} />
-))
-
-storiesOf('Button', module)
- .add('with text', () => (
- <Button onClick={action('clicked')}>Hello Button</Button>
- ))
- .add('with some emoji', () => (
- <Button onClick={action('clicked')}>
- <span role="img" aria-label="so cool">
- 😀 😎 👍 💯
- </span>
- </Button>
- ))