@chayns-components/core
Version:
A set of beautiful React components for developing your own applications with chayns.
29 lines (28 loc) • 485 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getCheckBoxPosition = void 0;
const getCheckBoxPosition = fontSize => {
const position = {
30: 17,
25.5: 14,
24: 12,
20: 8,
19: 8,
18: 6,
17: 7,
16: 5,
15: 4,
14: 4,
13: 3,
12: 1,
11: 1,
10: 0,
9: -1,
8: -1
};
return position[fontSize];
};
exports.getCheckBoxPosition = getCheckBoxPosition;
//# sourceMappingURL=checkBox.js.map