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..
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
npm i classnames
. There are 36908 other projects in the npm registry using classnames.