MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getIconForType

Function getIconForType

src/pages/problems/problems.js:183–192  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

181 }
182
183 function getIconForType(type) {
184 switch (type) {
185 case "error":
186 return "cancel";
187 case "warning":
188 return "warningreport_problem";
189 default:
190 return "info";
191 }
192 }
193}

Callers 1

ProblemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected