'use client'
import {FormLabel} from '@/components/ui/form'
import {merge} from '@/lib/utils'
import {RadioGroupItem} from '@/components/ui/radio-group'
import {ReactNode} from 'react'
export type FormOptionProps = {
id: string
value: string
label?: string
description?: string
compare: string
className?: string
children?: ReactNode
}
export default function FormOption(props: FormOptionProps) {
return (
<>
{props.children ? props.children : (
<>
{props.label}
{props.description && {props.description}
}
>
)}
>
)
}