import type { Meta, StoryObj } from "@storybook/react-vite"; import { Checkbox } from "./checkbox"; import { Label } from "./label"; const meta: Meta = { title: "UI/Checkbox", component: Checkbox, tags: ["autodocs"], argTypes: { checked: { control: "boolean" }, disabled: { control: "boolean" }, }, }; export default meta; type Story = StoryObj; export const Default: Story = {}; export const Checked: Story = { args: { defaultChecked: true, }, }; export const Disabled: Story = { args: { disabled: true, }, }; export const DisabledChecked: Story = { args: { disabled: true, defaultChecked: true, }, }; export const WithLabel: Story = { render: (args) => (
), }; export const WithLabelDisabled: Story = { render: () => (
), };