@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
9 lines • 394 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeClassName = void 0;
var makeClassName = function (blockName, elementName, modifier) {
if (elementName === void 0) { elementName = 'Root'; }
return blockName + "-" + elementName + (modifier ? "--" + modifier : '');
};
exports.makeClassName = makeClassName;
//# sourceMappingURL=makeClassName.js.map