17 lines
379 B
JavaScript
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;
|