'use client'
import { GCIMatrixResponse, getScoreColor } from '@/lib/sdk/gci/types'
import { LoadingSpinner } from './GCIHelpers'
export function MatrixTab({ matrix }: { matrix: GCIMatrixResponse | null }) {
if (!matrix || !matrix.matrix) return
| Rolle | {regulations.map(r => ({r} | ))}Gesamt | Module |
|---|---|---|---|
| {entry.role_name} | {regulations.map(r => ({entry.regulations[r].toFixed(0)}% | ))}{entry.overall_score.toFixed(0)}% | {entry.completed_modules}/{entry.required_modules} |