import { FieldPath, FieldValues } from "react-hook-form"; import { ControlledFormField } from "../common/ControlledFormField.js"; import { CommonUnknownFieldProps } from "../common/types.js"; import { StyledRadio, type StyledRadioProps } from "../styled/StyledRadio.js"; export function RadioFormField< TValues extends FieldValues, TName extends FieldPath = FieldPath, >({ options, ...fieldProps }: CommonUnknownFieldProps & Pick) { return ( {({ onChange, value }) => ( )} ); }