MCPcopy
hub / github.com/codeaashu/claude-code / getToolIcon

Function getToolIcon

web/components/tools/ToolUseBlock.tsx:40–42  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

38};
39
40function getToolIcon(name: string): React.ElementType {
41 return TOOL_ICONS[name.toLowerCase()] ?? Wrench;
42}
43
44const TOOL_LABELS: Record<string, string> = {
45 bash: "Bash",

Callers 1

ToolUseBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected