UNPKG

react-native-style-tachyons

Version:
32 lines (31 loc) 859 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.minHeights = exports.maxHeights = exports.heights = void 0; const lodash_1 = __importDefault(require("lodash")); exports.heights = lodash_1.default.mapValues({ h1: 1, h2: 2, h3: 4, h4: 8, h5: 16, h6: 32 }, (val) => ({ height: val })); exports.maxHeights = lodash_1.default.mapValues({ "max-h1": 1, "max-h2": 2, "max-h3": 4, "max-h4": 8, "max-h5": 16, "max-h6": 32 }, (val) => ({ maxHeight: val })); exports.minHeights = lodash_1.default.mapValues({ "min-h1": 1, "min-h2": 2, "min-h3": 4, "min-h4": 8, "min-h5": 16, "min-h6": 32 }, (val) => ({ minHeight: val }));