import { Story, Meta } from '@storybook/react' import { CheckboxProps } from './types' import Checkbox from './Checkbox' export default { component: Checkbox, title: 'Controls/Checkbox', args: { disabled: false, }, argTypes: { onChange: { action: 'change', table: { disable: true }, }, }, } as Meta export const Uncontrolled: Story = (props) => ( ) Uncontrolled.args = { defaultChecked: false, } export const Controlled: Story = (props) => { return } Controlled.args = { checked: true, } export const WithLabel: Story = (props) => { return } WithLabel.args = { label: 'Label', }