(iconName: string, color: string)
| 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" ? ( |