UNPKG

shineout

Version:

A components library for React

9 lines (8 loc) 262 B
interface PositionInfo { top?: number; left?: number; right?: number; bottom?: number; } export declare const getPosition: (position: string, el: HTMLElement, container?: HTMLElement | undefined) => Record<keyof PositionInfo, string>; export {};