import type { Story } from '@storybook/react'; import * as React from 'react'; import Checkbox from '.'; export default { title: 'Form/Checkbox', id: 'checkbox', component: Checkbox, }; const Template: Story> = (args) => ; export const Default = Template.bind({}); Default.args = { children: 'Example', }; export const CheckboxSmall = Template.bind({}); CheckboxSmall.args = { children: 'Small checkbox', sizeVariant: 'SMALL', }; export const CheckboxDisabled = Template.bind({}); CheckboxDisabled.args = { children: 'Disabled checkbox option', disabled: true, }; export const CheckboxPreselected = Template.bind({}); CheckboxPreselected.args = { children: 'Farm or agricultural waste', defaultChecked: true, }; export const CheckboxPreselectedDisabled = Template.bind({}); CheckboxPreselectedDisabled.args = { children: 'Farm or agricultural waste', defaultChecked: true, disabled: true, }; export const CheckboxWithHintText: Story = (args) => ( <> British Irish Citizen of another country );