MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / DrawerHeader

Function DrawerHeader

packages/react/src/components/drawer.tsx:65–76  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

63}
64
65function DrawerHeader({ className, ...props }: React.ComponentProps<"div">) {
66 return (
67 <div
68 data-slot="drawer-header"
69 className={cn(
70 "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",
71 className,
72 )}
73 {...props}
74 />
75 );
76}
77
78function DrawerFooter({ className, ...props }: React.ComponentProps<"div">) {
79 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected