MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / ActionButton

Interface ActionButton

src/components/QuickActions.tsx:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19interface ActionButton {
20 id: string;
21 label: string;
22 icon: React.ComponentType<{ className?: string }>;
23 color: "emerald" | "blue" | "yellow" | "red";
24 action: () => Promise<void> | void;
25 placeholder?: boolean;
26}
27
28export function QuickActions({ onActionComplete }: QuickActionsProps) {
29 const [loadingAction, setLoadingAction] = useState<string | null>(null);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected