MCPcopy Create free account
hub / github.com/esengine/esengine / getStatusIcon

Function getStatusIcon

packages/editor-app/src/components/AboutDialog.tsx:82–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 };
81
82 const getStatusIcon = () => {
83 switch (updateStatus) {
84 case 'checking':
85 return <RefreshCw size={16} className="animate-spin" />;
86 case 'available':
87 return <Download size={16} className="status-available" />;
88 case 'installing':
89 return <Loader2 size={16} className="animate-spin" />;
90 case 'latest':
91 return <Check size={16} className="status-latest" />;
92 case 'error':
93 return <AlertCircle size={16} className="status-error" />;
94 default:
95 return null;
96 }
97 };
98
99 const getStatusText = () => {
100 switch (updateStatus) {

Callers 1

AboutDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected