We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ef3a59 commit aa073c3Copy full SHA for aa073c3
1 file changed
apps/webapp/app/components/navigation/SideMenuItem.tsx
@@ -10,6 +10,7 @@ export function SideMenuItem({
10
icon,
11
activeIconColor,
12
inactiveIconColor,
13
+ iconClassName,
14
trailingIcon,
15
trailingIconClassName,
16
name,
@@ -22,6 +23,7 @@ export function SideMenuItem({
22
23
icon?: RenderIcon;
24
activeIconColor?: string;
25
inactiveIconColor?: string;
26
+ iconClassName?: string;
27
trailingIcon?: RenderIcon;
28
trailingIconClassName?: string;
29
name: string;
@@ -47,7 +49,8 @@ export function SideMenuItem({
47
49
icon={icon}
48
50
className={cn(
51
"size-5 shrink-0",
- isActive ? activeIconColor : inactiveIconColor ?? "text-text-dimmed"
52
+ isActive ? activeIconColor : inactiveIconColor ?? "text-text-dimmed",
53
+ iconClassName
54
)}
55
/>
56
<motion.div
0 commit comments