aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/forms/fields/checkbox/checkbox.stories.ts
blob: e815b91bbf9882bb2bc6d2ab2c2a28d89dcab6a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import type { Meta, StoryObj } from '@storybook/react';
import { Checkbox as CheckboxComponent } from './checkbox';

const meta = {
  component: CheckboxComponent,
  title: 'Atoms/Forms/Fields',
} satisfies Meta<typeof CheckboxComponent>;

export default meta;

type Story = StoryObj<typeof meta>;

export const Checkbox: Story = {
  args: {
    id: 'checkbox',
    isChecked: false,
    name: 'checkbox',
    value: 'checkbox',
  },
};