MCPcopy Create free account
hub / github.com/better-auth/examples / CommandList

Function CommandList

astro-example/src/components/ui/command.tsx:30–42  ·  view source on GitHub ↗
(props: CommandListProps)

Source from the content-addressed store, hash-verified

28};
29
30export const CommandList = (props: CommandListProps) => {
31 const [local, rest] = splitProps(props, ["class"]);
32
33 return (
34 <CommandPrimitive.List
35 class={cn(
36 "max-h-[300px] overflow-y-auto overflow-x-hidden p-1",
37 local.class,
38 )}
39 {...rest}
40 />
41 );
42};
43
44export const CommandInput = (props: VoidProps<CommandInputProps>) => {
45 const [local, rest] = splitProps(props, ["class"]);

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected