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