Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UseControllerProps

type UseControllerProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
name: TName;
rules?: Omit<RegisterOptions<TFieldValues, TName>, "valueAsNumber" | "valueAsDate" | "setValueAs" | "disabled">;
shouldUnregister?: boolean;
defaultValue?: FieldPathValue<TFieldValues, TName>;
control?: Control<TFieldValues>;
disabled?: boolean;
}
;

§Type Parameters

§
TFieldValues extends FieldValues = FieldValues
[src]
§
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>
[src]

§Type

§
{
name: TName;
rules?: Omit<RegisterOptions<TFieldValues, TName>, "valueAsNumber" | "valueAsDate" | "setValueAs" | "disabled">;
shouldUnregister?: boolean;
defaultValue?: FieldPathValue<TFieldValues, TName>;
control?: Control<TFieldValues>;
disabled?: boolean;
}
[src]