type alias UseFieldArrayReplaceimport { type UseFieldArrayReplace } from "https://deno.land/x/netzo@0.5.30/deps/react-hook-form.ts"; Replace the entire field array values. ExamplesExample 1 <button type="button" onClick={() => replace([{ name: "data" }, { name: "data" }])} > Replace </button> Type ParametersTFieldValues extends FieldValuesoptionalTFieldArrayName extends FieldArrayPath<TFieldValues> = FieldArrayPath<TFieldValues>definition: (value: FieldArray<TFieldValues, TFieldArrayName> | FieldArray<TFieldValues, TFieldArrayName>[]) => void