simple BEM class name generator
Example
const b = ; // key/value modifier; // "button button__theme_green"// logical modifier; // "button button__loading"; // "button"// mix; // "button form__button"// element; // "button__icon"// element key/value modifier; // "button__icon button__icon_type_close"// element logical modifier; // "button__icon button__icon_animate"; // "button__icon"// element mix; // "button__icon material-icons"
React Example
; { const b = ; const theme size icon ...rest = thisprops; return <button className= ...rest> <i className=>icon</i> thipropschildren </button> ;}