SidebarContextProps Type — ui Architecture
Architecture documentation for the SidebarContextProps type/interface in sidebar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 354dd014_d5f6_d05b_51a5_29b360925fe1["SidebarContextProps"] 0dd28c0a_4131_40f2_8cf0_e0611d33faf6["sidebar.tsx"] 354dd014_d5f6_d05b_51a5_29b360925fe1 -->|defined in| 0dd28c0a_4131_40f2_8cf0_e0611d33faf6 style 354dd014_d5f6_d05b_51a5_29b360925fe1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/ui/sidebar.tsx lines 35–43
type SidebarContextProps = {
state: "expanded" | "collapsed"
open: boolean
setOpen: (open: boolean) => void
openMobile: boolean
setOpenMobile: (open: boolean) => void
isMobile: boolean
toggleSidebar: () => void
}
Defined In
Source
Frequently Asked Questions
What is the SidebarContextProps type?
SidebarContextProps is a type/interface in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/sidebar.tsx.
Where is SidebarContextProps defined?
SidebarContextProps is defined in apps/v4/registry/new-york-v4/ui/sidebar.tsx at line 35.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free