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
  5ac94020_6635_94ea_12e7_6f90dddb5a51["DrawerClose()"]
  2b724270_13cc_5d5d_74db_61f240d302ac["drawer.tsx"]
  5ac94020_6635_94ea_12e7_6f90dddb5a51 -->|defined in| 2b724270_13cc_5d5d_74db_61f240d302ac
  style 5ac94020_6635_94ea_12e7_6f90dddb5a51 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui-rtl/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-rtl/drawer.tsx.
Where is DrawerClose() defined?
DrawerClose() is defined in apps/v4/examples/radix/ui-rtl/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