(props: RadioProps)
| 61 | } |
| 62 | |
| 63 | export function Radio(props: RadioProps) { |
| 64 | return ( |
| 65 | <RadioField {...props} className="flex flex-col gap-1 group"> |
| 66 | <RadioButton |
| 67 | className={composeTailwindRenderProps( |
| 68 | props.className, |
| 69 | 'flex relative gap-2 items-center group text-neutral-800 disabled:text-neutral-300 dark:text-neutral-200 dark:disabled:text-neutral-600 forced-colors:disabled:text-[GrayText] text-sm transition [-webkit-tap-highlight-color:transparent]' |
| 70 | )}> |
| 71 | {composeRenderProps(props.children, (children, renderProps) => ( |
| 72 | <> |
| 73 | <div className={styles(renderProps)} /> |
| 74 | {children} |
| 75 | </> |
| 76 | ))} |
| 77 | </RadioButton> |
| 78 | {props.description && <Description className="ms-6.5">{props.description}</Description>} |
| 79 | </RadioField> |
| 80 | ); |
| 81 | } |
nothing calls this directly
no test coverage detected