Function
AlertDialogViewport
({
className,
...props
}: AlertDialogPrimitive.Viewport.Props)
Source from the content-addressed store, hash-verified
| 31 | } |
| 32 | |
| 33 | function AlertDialogViewport({ |
| 34 | className, |
| 35 | ...props |
| 36 | }: AlertDialogPrimitive.Viewport.Props) { |
| 37 | return ( |
| 38 | <AlertDialogPrimitive.Viewport |
| 39 | className={cn( |
| 40 | "fixed inset-0 z-50 grid grid-rows-[1fr_auto] justify-items-center pt-6 sm:grid-rows-[1fr_auto_3fr] sm:p-4", |
| 41 | className, |
| 42 | )} |
| 43 | data-slot="alert-dialog-viewport" |
| 44 | {...props} |
| 45 | /> |
| 46 | ); |
| 47 | } |
| 48 | |
| 49 | function AlertDialogPopup({ |
| 50 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected