Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 156x | import type { LucideIcon } from "lucide-react";
interface AnalyticsEmptyStateProps {
icon: LucideIcon;
title?: string;
subtitle?: string;
}
export function AnalyticsEmptyState({
icon: Icon,
title = "No data yet",
subtitle = "Analytics update daily",
}: AnalyticsEmptyStateProps) {
return (
<div className="py-8 text-center text-foreground-muted">
<Icon className="h-8 w-8 mx-auto mb-2 text-foreground-subtle" />
<p className="text-sm">{title}</p>
<p className="text-xs text-foreground-subtle mt-1">{subtitle}</p>
</div>
);
}
|