package.lib.utils.computeAutoPlacement.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Tooltip and Popover Positioning Engine
import type { State, Padding } from "../types";
import type { Placement, ComputedPlacement, Boundary, RootBoundary } from "../enums";
declare type Options = {
placement: Placement;
padding: Padding;
boundary: Boundary;
rootBoundary: RootBoundary;
flipVariations: boolean;
allowedAutoPlacements?: Array;
};
export default function computeAutoPlacement(state: Partial, options?: Options): Array;
export {};