Custom Menu Items (#79)

* Custom Menu Items

* update readme

* fix indentation
This commit is contained in:
Aine
2024-10-21 23:33:51 +03:00
committed by GitHub
parent be867b6b0d
commit ca71038874
6 changed files with 95 additions and 23 deletions

View File

@@ -4,6 +4,13 @@ interface AppContextType {
restrictBaseUrl: string | string[];
asManagedUsers: string[];
supportURL: string;
menu: MenuItem[];
}
interface MenuItem {
label: string;
icon: string;
url: string;
}
export const AppContext = createContext({});