@aqrojo/class-names
v1.0.0
Published
react classnames minimal utility
Downloads
91
Maintainers
Readme
React classNames minimal utility
import classNames from '@aqrojo/class-names'
//...
const App = () => (
<div className={classNames(
'static-class1',
'static-class2',
{
'dynamic-class-1': true,
dynamicClass2: true
}
)}>
Hello world
</div>
)