Skip to content

Commit 2f4438a

Browse files
committed
add PathValue and Path as exports from form
1 parent fa99adf commit 2f4438a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/shadcn/ui/form.tsx

+6-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import {
99
FormProvider,
1010
useFormContext,
1111
useForm,
12-
useFieldArray
12+
useFieldArray,
13+
Path,
14+
PathValue
1315
} from "react-hook-form";
1416
import { zodResolver } from "@hookform/resolvers/zod";
1517
import { cn } from "src/utils";
@@ -178,5 +180,7 @@ export {
178180
useFormField,
179181
useForm,
180182
useFieldArray,
181-
zodResolver
183+
zodResolver,
184+
Path,
185+
PathValue
182186
};

0 commit comments

Comments
 (0)