feat: add form primitives and rhf integration

This commit is contained in:
2026-03-19 17:50:34 +08:00
parent cb15b46b0c
commit b7d17383bf
7 changed files with 627 additions and 2 deletions
+15 -1
View File
@@ -108,7 +108,6 @@ export {
FieldDescription,
FieldError,
FieldLabel,
FormItem,
useFieldIds,
type FieldControlProps,
type FieldDescriptionProps,
@@ -116,6 +115,21 @@ export {
type FieldProps,
type FieldRenderProps
} from "./components/field";
export {
Form,
FormControl,
FormDescription,
FormItem,
FormLabel,
FormMessage,
type FormControlProps,
type FormDescriptionProps,
type FormItemProps,
type FormLabelProps,
type FormMessageProps,
type FormMethods,
type FormProps
} from "./components/form";
export { Input, type InputProps } from "./components/input";
export { inputVariants } from "./components/input.variants";
export { Label, type LabelProps } from "./components/label";