Function
DialogOverlay
({
className,
...props
}: DialogPrimitive.Backdrop.Props)
Source from the content-addressed store, hash-verified
| 25 | } |
| 26 | |
| 27 | function DialogOverlay({ |
| 28 | className, |
| 29 | ...props |
| 30 | }: DialogPrimitive.Backdrop.Props) { |
| 31 | return ( |
| 32 | <DialogPrimitive.Backdrop |
| 33 | data-slot="dialog-overlay" |
| 34 | className={cn( |
| 35 | "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50", |
| 36 | className |
| 37 | )} |
| 38 | {...props} |
| 39 | /> |
| 40 | ); |
| 41 | } |
| 42 | |
| 43 | function DialogContent({ |
| 44 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected