switch.stories.tsx 308 B

1234567891011121314
  1. import Switch from '../js/shared/components/switch'
  2. export const Unchecked = () => {
  3. return <Switch onChange={() => {}} checked={false} />
  4. }
  5. export const Checked = () => {
  6. return <Switch onChange={() => {}} checked />
  7. }
  8. export default {
  9. title: 'Shared / Components / Switch',
  10. component: Switch,
  11. }