You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
544 B

  1. import { storiesOf } from '@kadira/storybook';
  2. import Button from '../../app/assets/javascripts/components/components/button.jsx'
  3. storiesOf('Button', module)
  4. .add('default state', () => (
  5. <Button text="submit" onClick={action('clicked')} />
  6. ))
  7. .add('secondary', () => (
  8. <Button secondary text="submit" onClick={action('clicked')} />
  9. ))
  10. .add('disabled', () => (
  11. <Button disabled text="submit" onClick={action('clicked')} />
  12. ))
  13. .add('block', () => (
  14. <Button block text="submit" onClick={action('clicked')} />
  15. ));