We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7787bf commit 0d9b1caCopy full SHA for 0d9b1ca
components/ui/brand.tsx
@@ -60,6 +60,7 @@ import Html from '~/icons/html5.svg'
60
import Postcss from '~/icons/postcss.svg'
61
import Env from '~/icons/env.svg'
62
import Solana from '~/icons/solana.svg'
63
+import clsx from 'clsx'
64
65
export const BrandsMap: Record<
66
string,
@@ -330,7 +331,7 @@ export function Brand(props: {
330
331
if (!Icon) return <span className="hidden">Missing brand icon for {name}</span>
332
333
if (as === 'icon' || !url) {
- return <Icon className={iconClassName} fill="currentColor" />
334
+ return <Icon className={clsx([className, iconClassName])} fill="currentColor" />
335
}
336
337
return (
0 commit comments