Function
DrawerHeader
({ className, ...props }: React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 63 | } |
| 64 | |
| 65 | function 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 | |
| 78 | function DrawerFooter({ className, ...props }: React.ComponentProps<"div">) { |
| 79 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected