amis-rpc-design/node_modules/antd/lib/theme/themes/shared/genControlHeight.js
2023-10-07 19:42:30 +08:00

17 lines
379 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
const genControlHeight = token => {
const {
controlHeight
} = token;
return {
controlHeightSM: controlHeight * 0.75,
controlHeightXS: controlHeight * 0.5,
controlHeightLG: controlHeight * 1.25
};
};
var _default = exports.default = genControlHeight;