Function
DialogViewport
({
className,
...props
}: DialogPrimitive.Viewport.Props)
Source from the content-addressed store, hash-verified
| 36 | } |
| 37 | |
| 38 | function DialogViewport({ |
| 39 | className, |
| 40 | ...props |
| 41 | }: DialogPrimitive.Viewport.Props) { |
| 42 | return ( |
| 43 | <DialogPrimitive.Viewport |
| 44 | className={cn( |
| 45 | "fixed inset-0 z-50 grid grid-rows-[1fr_auto_3fr] justify-items-center p-4", |
| 46 | className, |
| 47 | )} |
| 48 | data-slot="dialog-viewport" |
| 49 | {...props} |
| 50 | /> |
| 51 | ); |
| 52 | } |
| 53 | |
| 54 | function DialogPopup({ |
| 55 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected