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