MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getIconSpan

Function getIconSpan

webview-ui/src/components/chat/ChatRow.tsx:334–348  ·  view source on GitHub ↗
(iconName: string, color: string)

Source from the content-addressed store, hash-verified

332 return []
333 case "api_req_started":
334 const getIconSpan = (iconName: string, color: string) => (
335 <div
336 style={{
337 width: 16,
338 height: 16,
339 display: "flex",
340 alignItems: "center",
341 justifyContent: "center",
342 }}>
343 <span
344 className={`codicon codicon-${iconName}`}
345 style={{ color, fontSize: 16, marginBottom: "-1.5px" }}
346 />
347 </div>
348 )
349 return [
350 apiReqCancelReason !== null && apiReqCancelReason !== undefined ? (
351 apiReqCancelReason === "user_cancelled" ? (

Callers 1

ChatRowContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected