import { safeFallback } from './safe-fallback' ; /**
 * Prefixes the first parameter with 'brix-' and includes others, if they are not undefined
 */ export function classNames ( ... [ predefinedClassName , classes ] ) { return ( [ `brix-${ predefinedClassName }` , classes ] . reduce ( ( interpolation , className ) => { return `${ interpolation } ${ safeFallback ( className ) }` ; } , '' ) as string ) . trim ( ) ; }