react-native-style-tachyons
Version:
functional, maintainable styling for react-native
21 lines (20 loc) • 557 B
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const lodash_1 = __importDefault(require("lodash"));
const weights = {
normal: "normal",
b: "bold",
fw1: "100",
fw2: "200",
fw3: "300",
fw4: "400",
fw5: "500",
fw6: "600",
fw7: "700",
fw8: "800",
fw9: "900"
};
exports.default = lodash_1.default.mapValues(weights, (val) => ({ fontWeight: val }));
;