ant-design/components/theme/interface/maps/size.ts

75 lines
1.3 KiB
TypeScript
Raw Normal View History

export interface SizeMapToken {
/**
* @nameZH XXL
* @default 48
*/
sizeXXL: number;
/**
* @nameZH XL
* @default 32
*/
sizeXL: number;
/**
* @nameZH LG
* @default 24
*/
sizeLG: number;
/**
* @nameZH MD
* @default 20
*/
sizeMD: number;
/** Same as size by default, but could be larger in compact mode */
sizeMS: number;
/**
* @nameZH
* @desc
* @default 16
*/
size: number;
/**
* @nameZH SM
* @default 12
*/
sizeSM: number;
/**
* @nameZH XS
* @default 8
*/
sizeXS: number;
/**
* @nameZH XXS
* @default 4
*/
sizeXXS: number;
}
export interface HeightMapToken {
// Control
/** Only Used for control inside component like Multiple Select inner selection item */
/**
* @nameZH
* @nameEN XS component height
* @desc
* @descEN XS component height
*/
controlHeightXS: number;
/**
* @nameZH
* @nameEN SM component height
* @desc
* @descEN SM component height
*/
controlHeightSM: number;
/**
* @nameZH
* @nameEN LG component height
* @desc
* @descEN LG component height
*/
controlHeightLG: number;
}