UNPKG

@accelint/design-toolkit

Version:

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

23 lines (20 loc) 805 B
import { Orientation } from '@react-types/shared'; import { RefAttributes } from 'react'; import { CheckboxProps as CheckboxProps$1, CheckboxGroupProps as CheckboxGroupProps$1 } from 'react-aria-components'; import { LabelProps } from '../label/types.js'; type CheckboxGroupProps = Omit<CheckboxGroupProps$1, 'className'> & RefAttributes<HTMLDivElement> & { classNames?: { group?: CheckboxGroupProps$1['className']; label?: LabelProps['className']; }; label?: string; orientation?: Orientation; }; type CheckboxProps = Omit<CheckboxProps$1, 'className'> & RefAttributes<HTMLLabelElement> & { classNames?: { checkbox?: CheckboxProps$1['className']; control?: string; label?: string; }; }; export type { CheckboxGroupProps, CheckboxProps };