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