docs: hide sidebar button on pages with no sidebar (#4158)

This commit is contained in:
Shahed Nasser
2023-05-23 17:31:03 +03:00
committed by GitHub
parent ddc90db530
commit 8b83bf94b6
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -1,6 +1,7 @@
import { createContext } from "react"
type SidebarContextType = {
hasSidebar: boolean
hiddenSidebar: boolean
setHiddenSidebar: (value: boolean) => void
hiddenSidebarContainer: boolean