ezyVet Javascript Helper Library Documentation
    Preparing search index...

    Function classNames

    • Returns a single string of class names to add to HTML elements.

      Implementation and tests adapted from https://www.npmjs.com/package/classnames. This helper was built to replace our reliance on this dependency.

      Parameters

      • ...args: NestedClassNamesArray

        List of class names to concatenate.

      Returns string

      The concantenated classnames.