UNPKG

antd-mobile

Version:

<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />

10 lines (8 loc) 198 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.toCSSLength = toCSSLength; function toCSSLength(val) { return typeof val === 'number' ? `${val}px` : val; }