1 | import * as React from 'react';
|
2 | import Item from './Item';
|
3 | import { PopoverPropsType } from './PropsType';
|
4 | export interface PopOverPropsType extends PopoverPropsType {
|
5 | prefixCls?: string;
|
6 | visible?: boolean;
|
7 | onVisibleChange?: (visible: boolean) => void;
|
8 | placement?: 'left' | 'right' | 'top' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
|
9 | mask?: boolean;
|
10 | }
|
11 | export default class Popover extends React.Component<PopOverPropsType, any> {
|
12 | static defaultProps: {
|
13 | prefixCls: string;
|
14 | placement: string;
|
15 | align: {
|
16 | overflow: {
|
17 | adjustY: number;
|
18 | adjustX: number;
|
19 | };
|
20 | };
|
21 | trigger: string[];
|
22 | };
|
23 | static Item: typeof Item;
|
24 | render(): JSX.Element;
|
25 | }
|