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.

11 lines
424 B

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