Skip to content

Commit

Permalink
feat(): Export useFieldArray.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanCQ committed Mar 14, 2024
1 parent 9b26cf9 commit d17d023
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/shadcn/ui/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import {
FieldValues,
FormProvider,
useFormContext,
useForm
useForm,
useFieldArray
} from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";
import { cn } from "src/utils";
Expand Down Expand Up @@ -176,5 +177,6 @@ export {
FormMessage,
useFormField,
useForm,
useFieldArray,
zodResolver
};

0 comments on commit d17d023

Please sign in to comment.