Home / Function/ DrawerClose() — ui Function Reference

DrawerClose() — ui Function Reference

Architecture documentation for the DrawerClose() function in drawer.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  cedc7659_936c_e564_1d26_8e232ea575ff["DrawerClose()"]
  99d16e56_c1a2_1e89_482f_668bc46b0e8f["drawer.tsx"]
  cedc7659_936c_e564_1d26_8e232ea575ff -->|defined in| 99d16e56_c1a2_1e89_482f_668bc46b0e8f
  style cedc7659_936c_e564_1d26_8e232ea575ff fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui/drawer.tsx lines 25–29

function DrawerClose({
  ...props
}: React.ComponentProps<typeof DrawerPrimitive.Close>) {
  return <DrawerPrimitive.Close data-slot="drawer-close" {...props} />
}

Subdomains

Frequently Asked Questions

What does DrawerClose() do?
DrawerClose() is a function in the ui codebase, defined in apps/v4/examples/radix/ui/drawer.tsx.
Where is DrawerClose() defined?
DrawerClose() is defined in apps/v4/examples/radix/ui/drawer.tsx at line 25.

Analyze Your Own Codebase

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

Try Supermodel Free