MCPcopy Create free account
hub / github.com/Open-Dev-Society/OpenStock / CommandList

Function CommandList

components/ui/command.tsx:85–99  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<typeof CommandPrimitive.List>)

Source from the content-addressed store, hash-verified

83}
84
85function CommandList({
86 className,
87 ...props
88}: React.ComponentProps<typeof CommandPrimitive.List>) {
89 return (
90 <CommandPrimitive.List
91 data-slot="command-list"
92 className={cn(
93 "max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
94 className
95 )}
96 {...props}
97 />
98 )
99}
100
101function CommandEmpty({
102 ...props

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected