@procore/core-react
Version:
React library of Procore Design Guidelines
4 lines (3 loc) • 334 B
TypeScript
import type { OverlayPlacement } from '../Overlay/useOverlay';
export declare type Placement = 'bottom' | 'bottom-left' | 'bottom-right' | 'center' | 'left' | 'left-bottom' | 'left-top' | 'right' | 'right-bottom' | 'right-top' | 'top' | 'top-left' | 'top-right';
export declare const getPlacement: (p: Placement) => OverlayPlacement;