twrnc
Version:
simple, expressive API for tailwindcss + react-native
13 lines (12 loc) • 404 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = require("../helpers");
const ALLOWED_VALUES = [`solid`, `double`, `dotted`, `dashed`];
function textDecorationStyle(value) {
if (!ALLOWED_VALUES.includes(value))
return null;
return (0, helpers_1.complete)({
textDecorationStyle: value,
});
}
exports.default = textDecorationStyle;