UNPKG

@accelint/design-toolkit

Version:

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

15 lines (12 loc) 558 B
import { RefAttributes, RefObject } from 'react'; import { ModalOverlayProps, DialogProps as DialogProps$1 } from 'react-aria-components'; type DialogProps = Omit<ModalOverlayProps, 'children' | 'className'> & Pick<DialogProps$1, 'children'> & RefAttributes<HTMLDivElement> & { classNames?: { overlay?: ModalOverlayProps['className']; modal?: ModalOverlayProps['className']; dialog?: DialogProps$1['className']; }; parentRef?: RefObject<HTMLElement | null>; size?: 'small' | 'large'; }; export type { DialogProps };