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