Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/react-hook-form.ts>UseFieldArrayRemove

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
type alias UseFieldArrayRemove
import { type UseFieldArrayRemove } from "https://deno.land/x/netzo@0.4.78/deps/react-hook-form.ts";

Remove field/fields at particular position.

Examples

Example 1

<button type="button" onClick={() => remove(0)}>Remove</button>
<button
  type="button"
  onClick={() => remove()}
>
  Remove all
</button>
definition: (index?: number | number[]) => void