Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/winfunc/opcode
/ renderIcon
Function
renderIcon
src/components/AgentRunView.tsx:220–223 ·
view source on GitHub ↗
(iconName: string)
Source
from the content-addressed store, hash-verified
218
};
219
220
const renderIcon = (iconName: string) => {
221
const Icon = AGENT_ICONS[iconName as keyof typeof AGENT_ICONS] || Bot;
222
return <Icon className=
"h-5 w-5"
/>;
223
};
224
225
if (loading) {
226
return (
Callers
1
AgentRunView
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected