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.
13 lines
452 B
13 lines
452 B
|
3 years ago
|
import { Boundary, RootBoundary, Rect, Strategy } from '@floating-ui/core';
|
||
|
|
import { Platform, ReferenceElement } from '../types';
|
||
|
|
type PlatformWithCache = Platform & {
|
||
|
|
_c: Map<ReferenceElement, Element[]>;
|
||
|
|
};
|
||
|
|
export declare function getClippingRect(this: PlatformWithCache, { element, boundary, rootBoundary, strategy, }: {
|
||
|
|
element: Element;
|
||
|
|
boundary: Boundary;
|
||
|
|
rootBoundary: RootBoundary;
|
||
|
|
strategy: Strategy;
|
||
|
|
}): Rect;
|
||
|
|
export {};
|