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.

26 lines
781 B

import * as React from 'react';
import Item from './Item';
import { PopoverPropsType } from './PropsType';
export interface PopOverPropsType extends PopoverPropsType {
prefixCls?: string;
visible?: boolean;
onVisibleChange?: (visible: boolean) => void;
placement?: 'left' | 'right' | 'top' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
mask?: boolean;
}
export default class Popover extends React.Component<PopOverPropsType, any> {
static defaultProps: {
prefixCls: string;
placement: string;
align: {
overflow: {
adjustY: number;
adjustX: number;
};
};
trigger: string[];
};
static Item: typeof Item;
render(): JSX.Element;
}