You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
InternshipProject/node_modules/rc-trigger/es/Popup/PopupInner.d.ts

33 lines
1.2 KiB

import * as React from 'react';
import type { CSSMotionProps } from 'rc-motion';
import type { Point, AlignType, StretchType, TransitionNameType, AnimationType } from '../interface';
export interface PopupInnerProps {
visible?: boolean;
prefixCls: string;
className?: string;
style?: React.CSSProperties;
children?: React.ReactNode;
zIndex?: number;
motion: CSSMotionProps;
destroyPopupOnHide?: boolean;
forceRender?: boolean;
animation: AnimationType;
transitionName: TransitionNameType;
stretch?: StretchType;
align?: AlignType;
point?: Point;
getRootDomNode?: () => HTMLElement;
getClassNameFromAlign?: (align: AlignType) => string;
onAlign?: (element: HTMLElement, align: AlignType) => void;
onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
onMouseLeave?: React.MouseEventHandler<HTMLDivElement>;
onMouseDown?: React.MouseEventHandler<HTMLDivElement>;
onTouchStart?: React.TouchEventHandler<HTMLDivElement>;
}
export interface PopupInnerRef {
forceAlign: () => void;
getElement: () => HTMLElement;
}
declare const PopupInner: React.ForwardRefExoticComponent<PopupInnerProps & React.RefAttributes<PopupInnerRef>>;
export default PopupInner;