UNPKG

@momentum-ui/react-collaboration

Version:

Cisco Momentum UI Framework for React Collaboration Applications

12 lines (11 loc) 462 B
import { PlacementType } from '../ModalArrow/ModalArrow.types'; type Orientation = 'horizontal' | 'vertical' | undefined; /** * This function detects based on the placement arg if an the arrow * is horizontal (left or right) or vertical (top or bottom) * * @param placement * @returns orientation based on placement, `undefined` if placement is `undefined` */ export declare const getArrowOrientation: (placement: PlacementType) => Orientation; export {};