123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- 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 Font size of Avatar icon
- */
- iconFontSize: number;
- /**
- * @desc 大号头像图标大小
- * @descEN Font size of large Avatar icon
- */
- iconFontSizeLG: number;
- /**
- * @desc 小号头像图标大小
- * @descEN Font size of small Avatar icon
- */
- iconFontSizeSM: 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: React.ReactElement) => React.ReactElement, string, string];
- export default _default;
|