52 lines
1.4 KiB
TypeScript
52 lines
1.4 KiB
TypeScript
import type { GetDefaultToken } from '../../theme/internal';
|
|
export interface ComponentToken {
|
|
/**
|
|
* @desc 头像尺寸
|
|
* @descEN Size of Avatar
|
|
*/
|
|
containerSize: number;
|
|
/**
|
|
* @desc 大号头像尺寸
|
|
* @descEN Size of large Avatar
|
|
*/
|
|
containerSizeLG: number;
|
|
/**
|
|
* @desc 小号头像尺寸
|
|
* @descEN Size of small Avatar
|
|
*/
|
|
containerSizeSM: number;
|
|
/**
|
|
* @desc 头像文字大小
|
|
* @descEN Font size of Avatar
|
|
*/
|
|
textFontSize: number;
|
|
/**
|
|
* @desc 大号头像文字大小
|
|
* @descEN Font size of large Avatar
|
|
*/
|
|
textFontSizeLG: number;
|
|
/**
|
|
* @desc 小号头像文字大小
|
|
* @descEN Font size of small Avatar
|
|
*/
|
|
textFontSizeSM: number;
|
|
/**
|
|
* @desc 头像组间距
|
|
* @descEN Spacing between avatars in a group
|
|
*/
|
|
groupSpace: number;
|
|
/**
|
|
* @desc 头像组重叠宽度
|
|
* @descEN Overlapping of avatars in a group
|
|
*/
|
|
groupOverlapping: number;
|
|
/**
|
|
* @desc 头像组边框颜色
|
|
* @descEN Border color of avatars in a group
|
|
*/
|
|
groupBorderColor: string;
|
|
}
|
|
export declare const prepareComponentToken: GetDefaultToken<'Avatar'>;
|
|
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: import("react").ReactElement) => import("react").ReactElement, string, string];
|
|
export default _default;
|