UNPKG

@ferdiunal/refinedev-shadcn-ui

Version:
13 lines 633 B
import { ReactElement } from "react"; import { ControllerRenderProps, FieldPath, FieldValues, UseControllerProps } from "react-hook-form"; type FormFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = UseControllerProps<TFieldValues, TName> & { label?: string; description?: string; className?: string; children: ReactElement<{ field: ControllerRenderProps<TFieldValues, TName>; }>; }; export declare const FormField: (props: FormFieldProps) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=field.d.ts.map