Dashboard Componeets files are added some

This commit is contained in:
2026-07-14 13:20:26 +01:00
parent ca40bd4095
commit 4c8c537f9c
13 changed files with 499 additions and 20 deletions

View File

@@ -6,4 +6,39 @@ export type Step = "login" | "verify" | "forgot";
onSuccess?: () => void;
onForgotPassword?:()=>void;
item?: any;
}
interface Activity {
time: string;
text: string;
boldText: string;
}
export interface ActivityFeedProps {
activities: Activity[];
}
interface ChartItem {
month: string;
height: string; // Tailwind h-class like 'h-24'
}
export interface BarChartProps {
data: ChartItem[];
}
export interface StatCardProps {
title: string;
value: number | string;
subtitle: string;
progress: number;
color: 'teal' | 'amber' | 'rose' | 'emerald';
}
export interface ProgressBarProps {
label: string;
value: number;
maxValue: number;
}
export interface StatusProgressProps {
label: string;
value: number;
total: number;
barColor?: string;
}