import { Switch } from "@components/Switch/Switch"; import type { Meta, StoryObj } from "@storybook/react"; const meta = { title: "Example/Switch", component: Switch, parameters: { layout: "centered", }, tags: ["autodocs"], argTypes: { color: { defaultValue: "primary", }, }, } satisfies Meta; export default meta; type Story = StoryObj; // More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args export const Primary: Story = { args: { color: "primary" }, }; export const DefaultChecked: Story = { args: { defaultChecked: true }, }; export const Disabled: Story = { args: { disabled: true }, };