UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

20 lines (19 loc) 740 B
import type { CSSInterpolation } from '../_util/cssinjs'; import type { AliasToken } from '../theme/internal'; import type { TokenWithCommonCls } from '../theme/util/genComponentStyleHook'; export declare const MAX_VERTICAL_CONTENT_RADIUS = 8; export declare function getArrowOffset(options: { sizePopupArrow: number; contentRadius: number; borderRadiusOuter: number; limitVerticalRadius?: boolean; }): { dropdownArrowOffset: number; dropdownArrowOffsetVertical: number; }; export default function getArrowStyle<Token extends TokenWithCommonCls<AliasToken>>(token: Token, options: { colorBg: string; showArrowCls?: string; contentRadius?: number; limitVerticalRadius?: boolean; }): CSSInterpolation;