bem / bem-react

A set of tools for developing user interfaces using the BEM methodology in React
http://bem.github.io/bem-react
Other
440 stars 63 forks source link

elemMods should works as usual #156

Closed qfox closed 6 years ago

qfox commented 6 years ago

I saw https://github.com/bem/bem-react-core/pull/135

Still think that this should works:

mix={{
    block: 'foo’,
    elem: 'bar’, 
    elemMods: {mod: 'val’}
}}

Because we have some kind of standard of bemjson: https://en.bem.info/platform/bemjson/#conventions-for-standard-bemjson-modes

Thank you!

Yeti-or commented 6 years ago

dublicate of https://github.com/bem/bem-react-core/issues/130