"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "pxTransform", {
    enumerable: true,
    get: function() {
        return pxTransform;
    }
});
var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
var _taro = /*#__PURE__*/ _interop_require_default._(require("@tarojs/taro"));
var _platform = require("./platform");
function pxTransform(value, radix) {
    // @ts-ignore
    if ((0, _platform.harmony)() || (0, _platform.td)()) return _taro.default.pxTransform(value, radix || 375);
    return "".concat(value, "px");
}
