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.

12 lines
466 B

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