UNPKG

antd-mobile

Version:
3 lines 89 B
export function toCSSLength(val) { return typeof val === 'number' ? `${val}px` : val; }