"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.RSValue = void 0;
var react_native_1 = require("react-native");
__exportStar(require("react-native-responsive-fontsize"), exports);
var device = react_native_1.Dimensions.get('window');
var scale;
if (device.width <= 414) {
    scale = device.width / 414;
}
else {
    scale = 1;
}
exports.RSValue = function (value) {
    return value * scale;
};
//# sourceMappingURL=index.js.map