@gannochenko/ui.styled-components
Version:
<!-- PROJECT SHIELDS --> <!-- *** Reference links are enclosed in brackets [ ] instead of parentheses ( ). *** See the bottom of this document for the declaration of the reference variables *** for contributors-url, forks-url, etc. This is an optional, co
14 lines • 771 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.textDecoration = void 0;
var textDecoration = function (mode, decoration) {
if (mode === void 0) { mode = 'on-hover'; }
if (decoration === void 0) { decoration = 'underline'; }
return "\n " + (mode === 'on-hover'
? "\n text-decoration: none;\n &:hover {\n text-decoration: " + decoration + ";\n };\n "
: '') + "\n " + (mode === 'on-hout'
? "\n text-decoration: " + decoration + ";\n &:hover {\n text-decoration: none;\n }\n "
: '') + "\n";
};
exports.textDecoration = textDecoration;
//# sourceMappingURL=textDecoration.js.map