A tiny (239B) utility for constructing className strings conditionally. Also serves as a faster & smaller drop-in replacement for the classnames package.
className
Variable array of inputs to map to class names.
A string representing a valid CSS selector.
This code was taken directly from the clsx library. 99% of the time, I'm using the clsx library alongside dominator, so I decided to just vendor it.
A tiny (239B) utility for constructing
className
strings conditionally. Also serves as a faster & smaller drop-in replacement for the classnames package.