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

UseFieldArrayProps

type UseFieldArrayProps<TFieldValues extends FieldValues = FieldValues, TFieldArrayName extends FieldArrayPath<TFieldValues> = FieldArrayPath<TFieldValues>, TKeyName extends string = "id"> = {
name: TFieldArrayName;
keyName?: TKeyName;
control?: Control<TFieldValues>;
rules?: {
validate?: Validate<FieldArray<TFieldValues, TFieldArrayName>[], TFieldValues> | Record<string, Validate<FieldArray<TFieldValues, TFieldArrayName>[], TFieldValues>>;
}
& Pick<RegisterOptions<TFieldValues>, "maxLength" | "minLength" | "required">;
shouldUnregister?: boolean;
}
;

§Type Parameters

§
TFieldValues extends FieldValues = FieldValues
[src]
§
TFieldArrayName extends FieldArrayPath<TFieldValues> = FieldArrayPath<TFieldValues>
[src]
§
TKeyName extends string = "id"
[src]

§Type

§
{
name: TFieldArrayName;
keyName?: TKeyName;
control?: Control<TFieldValues>;
rules?: {
validate?: Validate<FieldArray<TFieldValues, TFieldArrayName>[], TFieldValues> | Record<string, Validate<FieldArray<TFieldValues, TFieldArrayName>[], TFieldValues>>;
}
& Pick<RegisterOptions<TFieldValues>, "maxLength" | "minLength" | "required">;
shouldUnregister?: boolean;
}
[src]