Updated sidebar to be global

This commit is contained in:
Alexis
2024-05-14 11:21:08 +02:00
parent da6b30f00c
commit 4034104c9e
3 changed files with 49 additions and 11 deletions

View File

@@ -0,0 +1,10 @@
export interface MenuItem {
phIcon: Component
tooltip: string
clickHandler?: () => void
to?: string
}
export interface SidebarProps {
menuItems: MenuItem[]
}