@szum-tech/design-system
Version:
Szum-Tech design system with tailwindcss support
22 lines (18 loc) • 787 B
text/typescript
import * as React from 'react';
import { RadioGroup as RadioGroup$1 } from 'radix-ui';
type RadioGroupProps = React.ComponentPropsWithoutRef<"div"> & {
asChild?: boolean;
name?: string;
required?: boolean;
disabled?: boolean;
dir?: "ltr" | "rtl";
orientation?: "horizontal" | "vertical";
loop?: boolean;
defaultValue?: string;
value?: string | null;
onValueChange?: (value: string) => void;
};
declare function RadioGroup({ className, ...props }: RadioGroupProps): React.JSX.Element;
type RadioGroupItemProps = React.ComponentProps<typeof RadioGroup$1.Item>;
declare function RadioGroupItem({ className, ...props }: RadioGroupItemProps): React.JSX.Element;
export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps };