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

Relationship Graph

Source Code

deprecated/www/registry/new-york/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
}

Frequently Asked Questions

What is the SidebarContextProps type?
SidebarContextProps is a type/interface in the ui codebase, defined in deprecated/www/registry/new-york/ui/sidebar.tsx.
Where is SidebarContextProps defined?
SidebarContextProps is defined in deprecated/www/registry/new-york/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