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

Function Command

astro-example/src/components/ui/command.tsx:16–28  ·  view source on GitHub ↗
(props: CommandRootProps)

Source from the content-addressed store, hash-verified

14import { Dialog, DialogContent } from "./dialog";
15
16export const Command = (props: CommandRootProps) => {
17 const [local, rest] = splitProps(props, ["class"]);
18
19 return (
20 <CommandPrimitive
21 class={cn(
22 "flex size-full flex-col overflow-hidden bg-popover text-popover-foreground",
23 local.class,
24 )}
25 {...rest}
26 />
27 );
28};
29
30export const CommandList = (props: CommandListProps) => {
31 const [local, rest] = splitProps(props, ["class"]);

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected