MCPcopy Create free account
hub / github.com/react-hook-form/react-hook-form / createArrayWithNumbers

Function createArrayWithNumbers

examples/V7/FieldArray.tsx:5–7  ·  view source on GitHub ↗
(length)

Source from the content-addressed store, hash-verified

3import { useForm } from 'react-hook-form';
4
5function createArrayWithNumbers(length) {
6 return Array.from({ length }, (_, i) => i);
7}
8
9export default function App() {
10 const {

Callers 1

AppFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected