import React, { useId, type HTMLAttributes } from 'react'
import classnames from 'classnames'
import { Label } from '~components/Label'
import { type OverrideClassName } from '~components/types/OverrideClassName'
import styles from './RadioGroup.module.css'
export type RadioGroupProps = OverrideClassName> & {
'children'?: React.ReactNode
'labelText': string | React.ReactNode
'labelId'?: string
'noBottomMargin'?: boolean
'reversed'?: boolean
'data-testid'?: string
}
export const RadioGroup = ({
children,
'labelId': propsLabelId,
labelText,
noBottomMargin = false,
reversed = false,
classNameOverride,
'data-testid': dataTestId,
...restProps
}: RadioGroupProps): JSX.Element => {
const fallbackId = useId()
const labelId = propsLabelId ?? fallbackId
return (
)
}
RadioGroup.displayName = 'RadioGroup'