UNPKG

dgz-ui-shared

Version:

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

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