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
  ab3be9bb_ae65_1562_5530_393a5bf8dcd1["SidebarContextProps"]
  334954a9_5573_f901_08c0_da02d404f69b["sidebar.tsx"]
  ab3be9bb_ae65_1562_5530_393a5bf8dcd1 -->|defined in| 334954a9_5573_f901_08c0_da02d404f69b
  style ab3be9bb_ae65_1562_5530_393a5bf8dcd1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui/sidebar.tsx lines 34–42

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/base/ui/sidebar.tsx.
Where is SidebarContextProps defined?
SidebarContextProps is defined in apps/v4/examples/base/ui/sidebar.tsx at line 34.

Analyze Your Own Codebase

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

Try Supermodel Free