import type { Meta, StoryObj } from '@storybook/react' import { RadioGroup } from '../components/RadioGroup' const meta = { title: 'Form/RadioGroup', component: RadioGroup, parameters: { layout: 'centered', }, tags: ['autodocs'], argTypes: {}, } satisfies Meta export default meta type Story = StoryObj const defaultArgs = { disabled: false, } const sizeOptions = [ { label: 'Small', value: 'S', size: 'small' }, { label: 'Medium', value: 'M', size: 'medium' }, { label: 'Large', value: 'L', size: 'large' }, ] const genderOptions = [ { label: 'Male', value: 'M' }, { label: 'Female', value: 'F' }, { label: 'Other', value: 'O' }, ] export const Playground: Story = { args: { color: 'primary', options: genderOptions, name: 'gender', label: 'Gender', checked: 'F', }, } export const RadioboxVertical = () => { return ( <> ) } RadioboxVertical.storyName = 'RadioGroup Vertical' export const RadioHorizontal = () => { return ( <> ) } RadioHorizontal.storyName = 'RadioGroup Horizontal' export const RadioSizes = () => { return ( <> ) } RadioSizes.storyName = 'RadioGroup Sizes'