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