import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Alert, AlertDescription } from "@/components/ui/alert"; import { CategoryCoverage } from "@/lib/team-review-types"; import { Progress } from "@/components/ui/progress"; interface TeamInsightsProps { recommendations: string[]; categoryCoverage: CategoryCoverage[]; } export function TeamInsights({ recommendations, categoryCoverage, }: TeamInsightsProps) { return ( Insights & Recommandations
{recommendations.map((recommendation, index) => ( {recommendation} ))}

Couverture par catégorie

{categoryCoverage.map((category) => (
{category.category} {Math.round(category.coverage)}%
{category.experts} {" "} exp.
{category.mentors} {" "} ment.
{category.learners} {" "} app.
))}
); }