Updated sidebar to be global
This commit is contained in:
10
components/global/SidebarProps.ts
Normal file
10
components/global/SidebarProps.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export interface MenuItem {
|
||||
phIcon: Component
|
||||
tooltip: string
|
||||
clickHandler?: () => void
|
||||
to?: string
|
||||
}
|
||||
|
||||
export interface SidebarProps {
|
||||
menuItems: MenuItem[]
|
||||
}
|
||||
Reference in New Issue
Block a user