import type { Meta, StoryObj } from '@storybook/react-vite'; import { SwitchField } from './SwitchField'; const meta: Meta = { title: 'UI kit/Form/SwitchField', component: SwitchField, tags: ['autodocs'], }; export default meta; type Story = StoryObj; export const Default: Story = { args: { label: 'Switch me:', }, }; export const Disabled: Story = { args: { label: 'Switch me:', disabled: true, }, }; export const Justify: Story = { args: { label: 'Switch me:', justify: true, }, }; export const Required: Story = { args: { label: 'Switch me:', required: true, }, };