UNPKG

react-native-style-tachyons

Version:
32 lines (31 loc) 850 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.minWidths = exports.maxWidths = exports.widths = void 0; const lodash_1 = __importDefault(require("lodash")); exports.widths = lodash_1.default.mapValues({ w1: 1, w2: 2, w3: 4, w4: 8, w5: 16, w6: 32 }, (val) => ({ width: val })); exports.maxWidths = lodash_1.default.mapValues({ "max-w1": 1, "max-w2": 2, "max-w3": 4, "max-w4": 8, "max-w5": 16, "max-w6": 32 }, (val) => ({ maxWidth: val })); exports.minWidths = lodash_1.default.mapValues({ "min-w1": 1, "min-w2": 2, "min-w3": 4, "min-w4": 8, "min-w5": 16, "min-w6": 32 }, (val) => ({ minWidth: val }));