MCPcopy Create free account
hub / github.com/bytebase/dbhub / CommandDialogViewport

Function CommandDialogViewport

frontend/src/components/ui/command.tsx:54–68  ·  view source on GitHub ↗
({
  className,
  ...props
}: CommandDialogPrimitive.Viewport.Props)

Source from the content-addressed store, hash-verified

52}
53
54function 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
70function CommandDialogPopup({
71 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected