| 17 | } |
| 18 | |
| 19 | interface 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 | |
| 28 | export function QuickActions({ onActionComplete }: QuickActionsProps) { |
| 29 | const [loadingAction, setLoadingAction] = useState<string | null>(null); |
nothing calls this directly
no outgoing calls
no test coverage detected