UNPKG

dgz-ui

Version:

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

25 lines 1.09 kB
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group'; import * as React from 'react'; /** * Props for the RadioGroup component. */ type RadioGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>; /** * RadioGroup - Group of radio inputs that allows selecting a single option. * @returns {JSX.Element} The rendered RadioGroup component. * @component */ declare function RadioGroup({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): import("react/jsx-runtime").JSX.Element; declare namespace RadioGroup { var displayName: string | undefined; } /** * RadioGroupItem - Individual radio option used within RadioGroup. * @returns {JSX.Element} The rendered RadioGroupItem component. */ declare function RadioGroupItem({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>): import("react/jsx-runtime").JSX.Element; declare namespace RadioGroupItem { var displayName: string | undefined; } export { RadioGroup, RadioGroupItem, type RadioGroupProps }; //# sourceMappingURL=radio-group.d.ts.map