MCPcopy
hub / github.com/vercel/next-forge / DrawerHeader

Function DrawerHeader

packages/design-system/components/ui/drawer.tsx:75–86  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

73}
74
75function DrawerHeader({ className, ...props }: React.ComponentProps<"div">) {
76 return (
77 <div
78 data-slot="drawer-header"
79 className={cn(
80 "flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left",
81 className
82 )}
83 {...props}
84 />
85 )
86}
87
88function DrawerFooter({ className, ...props }: React.ComponentProps<"div">) {
89 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected