Home / Type/ SidebarContextProps Type — ui Architecture

SidebarContextProps Type — ui Architecture

Architecture documentation for the SidebarContextProps type/interface in sidebar.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  c2b48ff2_7a83_ec3c_6efc_779ba602783a["SidebarContextProps"]
  c3d1b2a8_7455_5144_ec35_453b78980e06["sidebar.tsx"]
  c2b48ff2_7a83_ec3c_6efc_779ba602783a -->|defined in| c3d1b2a8_7455_5144_ec35_453b78980e06
  style c2b48ff2_7a83_ec3c_6efc_779ba602783a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui/sidebar.tsx lines 33–41

type SidebarContextProps = {
  state: "expanded" | "collapsed"
  open: boolean
  setOpen: (open: boolean) => void
  openMobile: boolean
  setOpenMobile: (open: boolean) => void
  isMobile: boolean
  toggleSidebar: () => void
}

Frequently Asked Questions

What is the SidebarContextProps type?
SidebarContextProps is a type/interface in the ui codebase, defined in apps/v4/examples/radix/ui/sidebar.tsx.
Where is SidebarContextProps defined?
SidebarContextProps is defined in apps/v4/examples/radix/ui/sidebar.tsx at line 33.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free