UNPKG

@accelint/design-toolkit

Version:

An open-source component library to serve as part of the entire ecosystem of UX for Accelint.

21 lines (18 loc) 684 B
import { RefAttributes } from 'react'; import { RadioProps as RadioProps$1, RadioGroupProps as RadioGroupProps$1 } from 'react-aria-components'; import { LabelProps } from '../label/types.js'; type RadioGroupProps = Omit<RadioGroupProps$1, 'className'> & RefAttributes<HTMLDivElement> & { classNames?: { group?: RadioGroupProps$1['className']; label?: LabelProps['className']; }; label?: string; }; type RadioProps = Omit<RadioProps$1, 'className'> & RefAttributes<HTMLLabelElement> & { classNames?: { radio?: RadioProps$1['className']; control?: string; label?: string; }; }; export type { RadioGroupProps, RadioProps };