diff options
Diffstat (limited to 'frontend/src/Navigation/nav.d.ts')
-rw-r--r-- | frontend/src/Navigation/nav.d.ts | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/frontend/src/Navigation/nav.d.ts b/frontend/src/Navigation/nav.d.ts deleted file mode 100644 index 7ce67f082..000000000 --- a/frontend/src/Navigation/nav.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { IconDefinition } from "@fortawesome/free-solid-svg-icons"; -import { FunctionComponent } from "react"; - -export declare namespace Navigation { - type RouteWithoutChild = { - icon?: IconDefinition; - name: string; - path: string; - component: FunctionComponent; - badge?: number; - enabled?: boolean; - routeOnly?: boolean; - }; - - type RouteWithChild = { - icon: IconDefinition; - name: string; - path: string; - component?: FunctionComponent; - badge?: number; - enabled?: boolean; - routes: RouteWithoutChild[]; - }; - - type RouteItem = RouteWithChild | RouteWithoutChild; -} |