|
|
|
@ -5,14 +5,14 @@ import Button from 'mastodon/components/button'; |
|
|
|
|
|
|
|
|
|
storiesOf('Button', module) |
|
|
|
|
.add('default state', () => ( |
|
|
|
|
<Button text="submit" onClick={action('clicked')} /> |
|
|
|
|
<Button text='submit' onClick={action('clicked')} /> |
|
|
|
|
)) |
|
|
|
|
.add('secondary', () => ( |
|
|
|
|
<Button secondary text="submit" onClick={action('clicked')} /> |
|
|
|
|
<Button secondary text='submit' onClick={action('clicked')} /> |
|
|
|
|
)) |
|
|
|
|
.add('disabled', () => ( |
|
|
|
|
<Button disabled text="submit" onClick={action('clicked')} /> |
|
|
|
|
<Button disabled text='submit' onClick={action('clicked')} /> |
|
|
|
|
)) |
|
|
|
|
.add('block', () => ( |
|
|
|
|
<Button block text="submit" onClick={action('clicked')} /> |
|
|
|
|
<Button block text='submit' onClick={action('clicked')} /> |
|
|
|
|
)); |
|
|
|
|