mirror of
https://github.com/yldio/copilot.git
synced 2025-01-09 18:40:12 +02:00
18 lines
343 B
JavaScript
18 lines
343 B
JavaScript
const React = require('react');
|
|
|
|
const {
|
|
storiesOf
|
|
} = require('@kadira/storybook');
|
|
|
|
const Checkbox = require('./');
|
|
|
|
storiesOf('Checkbox', module)
|
|
.add('Default', () => (
|
|
<Checkbox />
|
|
))
|
|
.add('Checked', () => (
|
|
<Checkbox checked onChange={function noop() {}} />
|
|
))
|
|
.add('Disabled', () => (
|
|
<Checkbox disabled />
|
|
)); |