闭社主体 forked from https://github.com/tootsuite/mastodon
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.

15 lines
497 B

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