Closed rudin closed 8 years ago
Thanks @rudin! Do you think that separate props for activeClassName
and inactiveClassName
would be clearer though? That way the props are self documenting
Just released this with v0.7.2
:+1:
@JedWatson Great! that's just what i needed. So, should I use activeClassName
or classes={{active: css.itemactive}}
?
classes={{active: css.itemactive, inactive: css.iteminactive}}
Support for active and inactive classes, kinda like Custom Classes for ReactCSSTransitionGroup in React v0.14.
A necessity when using 'css modules' where every classname becomes unique. https://github.com/css-modules/css-modules