22 lines
878 B
TypeScript
22 lines
878 B
TypeScript
|
|
import type { FullToken, GetDefaultToken } from '../../theme/internal';
|
|||
|
|
export interface ComponentToken {
|
|||
|
|
/**
|
|||
|
|
* @desc 操作按扭颜色
|
|||
|
|
* @descEN Action button color
|
|||
|
|
*/
|
|||
|
|
actionsColor: string;
|
|||
|
|
/**
|
|||
|
|
* @desc 卡片类型文件列表项的尺寸(对 picture-card 和 picture-circle 生效)
|
|||
|
|
* @descEN Size of list items in card type (affects both picture-card and picture-circle)
|
|||
|
|
*/
|
|||
|
|
pictureCardSize: number;
|
|||
|
|
}
|
|||
|
|
export interface UploadToken extends FullToken<'Upload'> {
|
|||
|
|
uploadThumbnailSize: number | string;
|
|||
|
|
uploadProgressOffset: number | string;
|
|||
|
|
uploadPicCardSize: number | string;
|
|||
|
|
}
|
|||
|
|
export declare const prepareComponentToken: GetDefaultToken<'Upload'>;
|
|||
|
|
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
|
|||
|
|
export default _default;
|