From 419835204e719f26bd238cef1f8a0f0307247ec9 Mon Sep 17 00:00:00 2001 From: Travis Lane <63308171+Tormak9970@users.noreply.github.com> Date: Mon, 6 Mar 2023 11:15:36 -0600 Subject: [PATCH] Add support for SidebarNavigation separator Looked into it and in order to render a separator you need to pass `"separator"` --- src/deck-components/SidebarNavigation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deck-components/SidebarNavigation.tsx b/src/deck-components/SidebarNavigation.tsx index 8afe94b..9cb0551 100644 --- a/src/deck-components/SidebarNavigation.tsx +++ b/src/deck-components/SidebarNavigation.tsx @@ -16,7 +16,7 @@ export interface SidebarNavigationPage { export interface SidebarNavigationProps { title?: string; - pages: SidebarNavigationPage[]; + pages: (SidebarNavigationPage|string)[]; showTitle?: boolean; disableRouteReporting?: boolean; page?: string;