aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/button/button.stories.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/button/button.stories.js')
-rw-r--r--ui/app/components/button/button.stories.js58
1 files changed, 0 insertions, 58 deletions
diff --git a/ui/app/components/button/button.stories.js b/ui/app/components/button/button.stories.js
deleted file mode 100644
index dec084a25..000000000
--- a/ui/app/components/button/button.stories.js
+++ /dev/null
@@ -1,58 +0,0 @@
-import React from 'react'
-import { storiesOf } from '@storybook/react'
-import { action } from '@storybook/addon-actions'
-import Button from './'
-import { text } from '@storybook/addon-knobs/react'
-
-storiesOf('Button', module)
- .add('primary', () =>
- <Button
- onClick={action('clicked')}
- type="primary"
- >
- {text('text', 'Click me')}
- </Button>
- )
- .add('secondary', () =>
- <Button
- onClick={action('clicked')}
- type="secondary"
- >
- {text('text', 'Click me')}
- </Button>
- )
- .add('default', () => (
- <Button
- onClick={action('clicked')}
- type="default"
- >
- {text('text', 'Click me')}
- </Button>
- ))
- .add('large primary', () => (
- <Button
- onClick={action('clicked')}
- type="primary"
- large
- >
- {text('text', 'Click me')}
- </Button>
- ))
- .add('large secondary', () => (
- <Button
- onClick={action('clicked')}
- type="secondary"
- large
- >
- {text('text', 'Click me')}
- </Button>
- ))
- .add('large default', () => (
- <Button
- onClick={action('clicked')}
- type="default"
- large
- >
- {text('text', 'Click me')}
- </Button>
- ))