import { Label, Switch } from "@ai-ui/ui"; import type { Meta, StoryObj } from "@storybook/react"; const meta = { title: "Components/Switch", component: Switch, args: { defaultChecked: true }, argTypes: { className: { control: false }, defaultChecked: { control: "boolean" }, disabled: { control: "boolean" }, invalid: { control: "boolean" } }, parameters: { layout: "centered" }, tags: ["autodocs"] } satisfies Meta; export default meta; type Story = StoryObj; export const Playground: Story = { render: (args) => (
) }; export const States: Story = { render: () => (
) };