Function
DialogBackdrop
({
className,
...props
}: DialogPrimitive.Backdrop.Props)
Source from the content-addressed store, hash-verified
| 20 | } |
| 21 | |
| 22 | function DialogBackdrop({ |
| 23 | className, |
| 24 | ...props |
| 25 | }: DialogPrimitive.Backdrop.Props) { |
| 26 | return ( |
| 27 | <DialogPrimitive.Backdrop |
| 28 | className={cn( |
| 29 | "fixed inset-0 z-50 bg-black/32 backdrop-blur-sm transition-all duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0", |
| 30 | className, |
| 31 | )} |
| 32 | data-slot="dialog-backdrop" |
| 33 | {...props} |
| 34 | /> |
| 35 | ); |
| 36 | } |
| 37 | |
| 38 | function DialogViewport({ |
| 39 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected