@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
6 lines • 323 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeClassName = void 0;
const makeClassName = (blockName, elementName = 'Root', modifier) => `${blockName}-${elementName}${modifier ? `--${modifier}` : ''}`;
exports.makeClassName = makeClassName;
//# sourceMappingURL=makeClassName.js.map