import type { Meta, StoryObj } from '@storybook/react'; import { Checkbox } from '@konobangu/design-system/components/ui/checkbox'; /** * A control that allows the user to toggle between checked and not checked. */ const meta: Meta = { title: 'ui/Checkbox', component: Checkbox, tags: ['autodocs'], argTypes: {}, args: { id: 'terms', disabled: false, }, render: (args) => (
), parameters: { layout: 'centered', }, } satisfies Meta; export default meta; type Story = StoryObj; /** * The default form of the checkbox. */ export const Default: Story = {}; /** * Use the `disabled` prop to disable the checkbox. */ export const Disabled: Story = { args: { id: 'disabled-terms', disabled: true, }, };