Skip to content

Commit d17d023

Browse files
committed
feat(): Export useFieldArray.
1 parent 9b26cf9 commit d17d023

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/shadcn/ui/form.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import {
88
FieldValues,
99
FormProvider,
1010
useFormContext,
11-
useForm
11+
useForm,
12+
useFieldArray
1213
} from "react-hook-form";
1314
import { zodResolver } from "@hookform/resolvers/zod";
1415
import { cn } from "src/utils";
@@ -176,5 +177,6 @@ export {
176177
FormMessage,
177178
useFormField,
178179
useForm,
180+
useFieldArray,
179181
zodResolver
180182
};

0 commit comments

Comments
 (0)