Function
DialogBackdrop
({
className,
...props
}: DialogPrimitive.Backdrop.Props)
Source from the content-addressed store, hash-verified
| 19 | } |
| 20 | |
| 21 | function DialogBackdrop({ |
| 22 | className, |
| 23 | ...props |
| 24 | }: DialogPrimitive.Backdrop.Props) { |
| 25 | return ( |
| 26 | <DialogPrimitive.Backdrop |
| 27 | className={cn( |
| 28 | "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", |
| 29 | className, |
| 30 | )} |
| 31 | data-slot="dialog-backdrop" |
| 32 | {...props} |
| 33 | /> |
| 34 | ); |
| 35 | } |
| 36 | |
| 37 | function DialogViewport({ |
| 38 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected