"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _screenWidth = _interopRequireDefault(require("../screen-width"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/*
 * @Author: codingfly
 * @Description:
 * @Date: 2022-02-06 12:37:24
 * @LastEditTime: 2022-02-24 08:01:59
 * @FilePath: \remaxui\src\rpx-to-px\index.tsx
 */
var _default = function _default(rpx) {
  return _screenWidth.default / 750 * rpx / (process.env.REMAX_PLATFORM === 'wechat' ? _screenWidth.default / 750 : 1);
};

exports.default = _default;