List of class names to concatenate.
The concantenated classnames.
The value we are checking is a string
Type casting if the value is a string
String with keys that match the props in replacements
Data to replace matching keys in str
str with replacements
The value to strip escaped words from
the value without escaped words
Generated using TypeDoc
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.