Skip to content

Commit

Permalink
add PathValue and Path as exports from form
Browse files Browse the repository at this point in the history
  • Loading branch information
Codar97 committed Jun 19, 2024
1 parent fa99adf commit 2f4438a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/shadcn/ui/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import {
FormProvider,
useFormContext,
useForm,
useFieldArray
useFieldArray,
Path,
PathValue
} from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";
import { cn } from "src/utils";
Expand Down Expand Up @@ -178,5 +180,7 @@ export {
useFormField,
useForm,
useFieldArray,
zodResolver
zodResolver,
Path,
PathValue
};

0 comments on commit 2f4438a

Please sign in to comment.