diff --git a/src/deck-components/SidebarNavigation.tsx b/src/deck-components/SidebarNavigation.tsx index 3305b37..1e29df7 100644 --- a/src/deck-components/SidebarNavigation.tsx +++ b/src/deck-components/SidebarNavigation.tsx @@ -4,8 +4,14 @@ import { Module, findModuleChild } from '../webpack'; export interface SidebarNavigationPages { title: string; - route: string; content: ReactNode; + icon?: ReactNode; + visible?: boolean; + hideTitle?: boolean; + identifier?: string; + route?: string; + link?: string; + padding?: "none" | "compact"; } export interface SidebarNavigationProps { @@ -13,6 +19,8 @@ export interface SidebarNavigationProps { pages: SidebarNavigationPages[]; showTitle?: boolean; disableRouteReporting?: boolean; + page?: string; + onPageRequested?: (page: string) => void; } export const SidebarNavigation = findModuleChild((mod: Module) => {