MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / CardActions

Function CardActions

apps/start/src/components/card.tsx:33–46  ·  view source on GitHub ↗
({ children }: CardActionsProps)

Source from the content-addressed store, hash-verified

31 children: React.ReactNode;
32}
33export function CardActions({ children }: CardActionsProps) {
34 return (
35 <div className="absolute right-2 top-2 z-10">
36 <DropdownMenu>
37 <DropdownMenuTrigger className="flex h-8 w-8 items-center justify-center rounded hover:border">
38 <MoreHorizontal size={16} />
39 </DropdownMenuTrigger>
40 <DropdownMenuContent align="end" className="w-[200px]">
41 <DropdownMenuGroup>{children}</DropdownMenuGroup>
42 </DropdownMenuContent>
43 </DropdownMenu>
44 </div>
45 );
46}
47
48export const CardActionsItem = DropdownMenuItem;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected