MCPcopy Create free account
hub / github.com/untitleduico/react / FormFieldProps

Interface FormFieldProps

components/base/form/hook-form.tsx:12–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12interface FormFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> {
13 name: TName;
14 control: Control<TFieldValues>;
15 children: ReactNode | ((control: UseControllerReturn<TFieldValues, TName>) => ReactNode);
16}
17
18interface FormFieldContextValues<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> {
19 id: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected