helper function like classNames?
https://www.npmjs.com/package/classnames
I would like to see built-in classNames function like 'mergeProps'.
Is there anything already?.. classList is not enough to mix static class & conditional stuff..
I would like to see built-in classNames function like 'mergeProps'.
Is there anything already?.. classList is not enough to mix static class & conditional stuff..
npm
A simple utility for conditionally joining classNames together. Latest version: 2.3.2, last published: 3 months ago. Start using classnames in your project by running
npm i classnames. There are 36908 other projects in the npm registry using classnames.
