UNPKG

dgz-ui-shared

Version:

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

8 lines 571 B
import { type FormItemProps, RadioGroupItem } from 'dgz-ui/form'; import type { FieldValues } from 'react-hook-form'; import React from 'react'; type RadioItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupItem>; type MyRadioProps<TFieldValues extends FieldValues> = FormItemProps<TFieldValues> & RadioItemProps; declare const MyRadio: <TFieldValues extends FieldValues>({ control, name, label, rules, helperText, value, ...props }: MyRadioProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element; export { MyRadio }; //# sourceMappingURL=MyRadio.d.ts.map