UNPKG

@smart-react-components/ui

Version:
10 lines (9 loc) 426 B
import { Position } from '../types'; /** * Calculates the box and arrow position. */ export declare const calculatePosition: (triggerEl: HTMLElement, boxEl: HTMLDivElement | null, headerEl: HTMLHeadingElement | null, arrowEl: SVGSVGElement, position: Position, space: number) => void; /** * Generates CSS transition classes. */ export declare const generateCSSTransitionClasses: (key: string, duration: number) => string;