Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.72/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