import type { Meta, StoryObj } from '@storybook/nextjs'
import { useState } from 'react'
import { RadioGroup, RadioGroupItem } from './RadioGroup'
const RadioGroupExample = () => {
const [value, setValue] = useState('option1')
return (
)
}
const meta = {
component: RadioGroup,
parameters: {
docs: {
description: {
component:
'A Radix UI RadioGroup wrapper. Use RadioGroup and RadioGroupItem together to create radio button groups.',
},
},
},
} satisfies Meta
export default meta
type Story = StoryObj
export const Default: Story = {
render: () => ,
}