import type { DialogContentInnerProps } from './DialogContentInner'; import type { RefObject } from 'react'; type CommonProps = Pick; type ControlledProps = Pick; type PortalProps = { /** * DOM 上でダイアログの要素を追加する親要素 */ portalParent?: HTMLElement | RefObject; }; export type DialogProps = CommonProps & ControlledProps & PortalProps; export type UncontrolledDialogProps = CommonProps & PortalProps; export type DirectChildren = Pick; export type DialogSize = 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL' | 'FULL'; export {};