website refactor
This commit is contained in:
@@ -6,6 +6,7 @@ interface Stat {
|
||||
label: string;
|
||||
value: string | number;
|
||||
intent?: 'primary' | 'telemetry' | 'success' | 'critical';
|
||||
color?: string;
|
||||
}
|
||||
|
||||
interface ProfileStatGridProps {
|
||||
@@ -17,6 +18,7 @@ export function ProfileStatGrid({ stats }: ProfileStatGridProps) {
|
||||
label: stat.label,
|
||||
value: stat.value,
|
||||
intent: stat.intent || 'primary',
|
||||
color: stat.color,
|
||||
icon: Bug // Default icon if none provided, but StatBox requires one
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user