import React from "react"; import { useArgs } from "@storybook/client-api"; import { ComponentStory, ComponentMeta } from "@storybook/react"; import { Checkbox } from "./Checkbox"; export default { title: "Design System/Atoms/Inputs/Checkbox", component: Checkbox, argTypes: { title: { name: "Title", type: "string", defaultValue: "Sample Checkbox", }, description: { name: "Description", type: "string", defaultValue: "This is a sample checkbox for demonstration purposes.", }, value: { name: "Checked", type: "boolean", defaultValue: false }, disabled: { name: "Disabled", type: "boolean", defaultValue: false }, }, } as ComponentMeta; const Template: ComponentStory = (args) => { const [_, updateArgs] = useArgs(); return ( updateArgs({ checked })} /> ); }; export const Default = Template.bind({});