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.
18 lines
564 B
18 lines
564 B
import { BuildInPlacements } from 'rc-trigger';
|
|
export interface AdjustOverflow {
|
|
adjustX?: 0 | 1;
|
|
adjustY?: 0 | 1;
|
|
}
|
|
export interface PlacementsConfig {
|
|
arrowWidth?: number;
|
|
horizontalArrowShift?: number;
|
|
verticalArrowShift?: number;
|
|
arrowPointAtCenter?: boolean;
|
|
autoAdjustOverflow?: boolean | AdjustOverflow;
|
|
}
|
|
export declare function getOverflowOptions(autoAdjustOverflow?: boolean | AdjustOverflow): {
|
|
adjustX: number;
|
|
adjustY: number;
|
|
};
|
|
export default function getPlacements(config: PlacementsConfig): BuildInPlacements;
|