@aplus-frontend/antdv
Version:
Vue basic component library maintained based on ant-design-vue
20 lines (19 loc) • 740 B
TypeScript
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;