Function
DrawerOverlay
({
className,
...props
}: React.ComponentProps<typeof DrawerPrimitive.Overlay>)
Source from the content-addressed store, hash-verified
| 20 | } |
| 21 | |
| 22 | function DrawerOverlay({ |
| 23 | className, |
| 24 | ...props |
| 25 | }: React.ComponentProps<typeof DrawerPrimitive.Overlay>) { |
| 26 | return ( |
| 27 | <DrawerPrimitive.Overlay |
| 28 | data-slot="drawer-overlay" |
| 29 | className={cn( |
| 30 | "fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0", |
| 31 | className, |
| 32 | )} |
| 33 | {...props} |
| 34 | /> |
| 35 | ); |
| 36 | } |
| 37 | |
| 38 | function DrawerContent({ |
| 39 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected