File size: 150 Bytes
1e92f2d | 1 2 3 4 | export default function joinClasses( classNames: ( string | number | undefined )[] ): string {
return classNames.filter( ( x ) => x ).join( ' ' );
}
|
1e92f2d | 1 2 3 4 | export default function joinClasses( classNames: ( string | number | undefined )[] ): string {
return classNames.filter( ( x ) => x ).join( ' ' );
}
|