import { RadioGroup as ChakraRadioGroup } from "@chakra-ui/react" import * as React from "react" export interface RadioProps extends ChakraRadioGroup.ItemProps { rootRef?: React.Ref inputProps?: React.InputHTMLAttributes } export const Radio = React.forwardRef( function Radio(props, ref) { const { children, inputProps, rootRef, ...rest } = props return ( {children && ( {children} )} ) }, ) export const RadioGroup = ChakraRadioGroup.Root