Function
CommandDialogViewport
({
className,
...props
}: CommandDialogPrimitive.Viewport.Props)
Source from the content-addressed store, hash-verified
| 52 | } |
| 53 | |
| 54 | function CommandDialogViewport({ |
| 55 | className, |
| 56 | ...props |
| 57 | }: CommandDialogPrimitive.Viewport.Props) { |
| 58 | return ( |
| 59 | <CommandDialogPrimitive.Viewport |
| 60 | className={cn( |
| 61 | "fixed inset-0 z-50 flex flex-col items-center px-4 py-[max(--spacing(4),4vh)] sm:py-[10vh]", |
| 62 | className, |
| 63 | )} |
| 64 | data-slot="command-dialog-viewport" |
| 65 | {...props} |
| 66 | /> |
| 67 | ); |
| 68 | } |
| 69 | |
| 70 | function CommandDialogPopup({ |
| 71 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected