20 lines
740 B
TypeScript
20 lines
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;
|