type statusTypes = 'unmounted' | 'exited' | 'entering' | 'entered' | 'exiting' ;
interface PopupProps extends React.HTMLAttributes<any> {
prefixCls?: string;
style?: React.CSSProperties;
className?: string;
rootClassName?: string;
rootStyle?: React.CSSProperties;
rootProps?: React.HTMLAttributes<any>;
visible?: boolean;
fixed?: boolean;
lazy?: boolean;
forceRender?: boolean;
transition?: Partial<CSSTransitionProps>;
destroyOnClose?: boolean;
getPosition?: (
dom: HTMLElement
) => {
top?: number | string;
left?: number | string;
right?: number | string;
bottom?: number | string;
};
disableMask?: boolean;
mask?: boolean;
maskStyle?: React.CSSProperties;
maskProps?: React.HTMLAttributes<any>;
maskClassName?: string;
maskTransition?: Partial<CSSTransitionProps>;
component?: React.ElementType;
maskComponent?: React.ElementType;
rootComponent?: React.ElementType;
wrapContent?: (node: React.ReactNode) => React.ReactNode;
}