| 2 | import { AlertCircle, CheckCircle, Clock, RefreshCw } from 'lucide-react' |
| 3 | |
| 4 | interface StatusData { |
| 5 | status: |
| 6 | | 'operational' |
| 7 | | 'degraded' |
| 8 | | 'partial_outage' |
| 9 | | 'major_outage' |
| 10 | | 'under_maintenance' |
| 11 | | 'unknown' |
| 12 | lastUpdated: string |
| 13 | incidents: Array<{ |
| 14 | name: string |
| 15 | status: string |
| 16 | impact: string |
| 17 | }> |
| 18 | } |
| 19 | |
| 20 | const StatusIcon = ({ status }: { status: string }) => { |
| 21 | switch (status) { |
nothing calls this directly
no outgoing calls
no test coverage detected