Node list and DMs now show icons

This commit is contained in:
Hunter Thornsberry
2024-09-08 19:48:42 -04:00
parent 3ad2d650b0
commit 78a35544c7
3 changed files with 19 additions and 3 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ export interface PageLayoutProps {
children: React.ReactNode;
actions?: {
icon: LucideIcon;
iconClasses?: string;
onClick: () => void;
}[];
}
@@ -39,7 +40,7 @@ export const PageLayout = ({
className="transition-all hover:text-accent"
onClick={action.onClick}
>
<action.icon />
<action.icon className={action.iconClasses}/>
</button>
))}
</div>