The code powering m.abunchtell.com https://m.abunchtell.com
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.
 
 
 
 

18 line
545 B

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