UNPKG

dgz-ui-shared

Version:

Custom ui library using React.js, Shadcn/ui, TailwindCSS, Typescript, dgz-ui library

5 lines 469 B
import type { FieldValues } from 'react-hook-form'; import { type CheckboxProps, type FormItemProps } from 'dgz-ui/form'; export type MyCheckboxProps<TFieldValues extends FieldValues> = FormItemProps<TFieldValues> & CheckboxProps; export declare const MyCheckbox: <TFieldValues extends FieldValues>({ control, name, label, rules, helperText, ...props }: MyCheckboxProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=MyCheckbox.d.ts.map