Dashboard Componeets files are added some
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user