44 lines
837 B
TypeScript
44 lines
837 B
TypeScript
export type Step = "login" | "verify" | "forgot";
|
|
|
|
|
|
export interface Props {
|
|
onBack?: () => void;
|
|
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;
|
|
} |