import type { Meta, StoryFn, StoryObj } from '@storybook/react' import { Checkbox } from '~/src/components/Checkbox' import { FormGroup } from './FormGroup' import { type FormGroupProps } from './FormGroup.types' const meta: Meta = { component: FormGroup, argTypes: { spacing: { control: { type: 'number', }, }, direction: { control: { type: 'radio', }, options: ['horizontal', 'vertical'], }, }, } export default meta const Template: StoryFn = (props) => ( Option Option Option Option ) export const Primary: StoryObj = { render: Template, args: { spacing: 0, direction: 'vertical', }, }