overleaf/services/web/frontend/stories/switch.stories.tsx

15 lines
308 B
TypeScript
Raw Normal View History

import Switch from '../js/shared/components/switch'
export const Unchecked = () => {
return <Switch onChange={() => {}} checked={false} />
}
export const Checked = () => {
return <Switch onChange={() => {}} checked />
}
export default {
title: 'Shared / Components / Switch',
component: Switch,
}