MCPcopy Create free account
hub / github.com/cosscom/coss / CommandDialogViewport

Function CommandDialogViewport

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

Source from the content-addressed store, hash-verified

53}
54
55export 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
71export function CommandDialogPopup({
72 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected