• A tiny (239B) utility for constructing className strings conditionally. Also serves as a faster & smaller drop-in replacement for the classnames package.

    Parameters

    • ...inputs: ClassValue[]

      Variable array of inputs to map to class names.

    Returns string

    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.