Function
DrawerOverlay
({
className,
...props
}: React.ComponentProps<typeof DrawerPrimitive.Overlay>)
Source from the content-addressed store, hash-verified
| 30 | } |
| 31 | |
| 32 | function DrawerOverlay({ |
| 33 | className, |
| 34 | ...props |
| 35 | }: React.ComponentProps<typeof DrawerPrimitive.Overlay>) { |
| 36 | return ( |
| 37 | <DrawerPrimitive.Overlay |
| 38 | data-slot="drawer-overlay" |
| 39 | className={cn( |
| 40 | "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", |
| 41 | className |
| 42 | )} |
| 43 | {...props} |
| 44 | /> |
| 45 | ) |
| 46 | } |
| 47 | |
| 48 | function DrawerContent({ |
| 49 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected