UNPKG

424 BTypeScriptView Raw
1import type { State, SideObject, Padding } from "../types";
2import type { Placement, Boundary, RootBoundary, Context } from "../enums";
3export declare type Options = {
4 placement: Placement;
5 boundary: Boundary;
6 rootBoundary: RootBoundary;
7 elementContext: Context;
8 altBoundary: boolean;
9 padding: Padding;
10};
11export default function detectOverflow(state: State, options?: Partial<Options>): SideObject;