UNPKG

@glodon-aiot/react-components

Version:

aiot react components

9 lines (8 loc) 453 B
import { HorizontalPlacement, VerticalPlacement } from './types'; export declare const getOffsetX: (e: any) => any; export declare const getOffsetY: (e: any) => any; export declare const placementStringToArr: (Placement: any) => [HorizontalPlacement, VerticalPlacement]; export declare const getPlacementPosition: (placement: [HorizontalPlacement, VerticalPlacement], contentRect?: DOMRect, gap?: [number, number]) => { x: number; y: number; };