import { Icon } from '@iconify/react'; import { DashboardMeta } from '@/types/api/dashboard/dashboard'; const DashboardLineChartSkeleton = ({ meta }: { meta?: DashboardMeta }) => { return (
{/* Header with title skeleton */}
Performance{' '}
{/* Chart area with axes skeleton */}
{/* Chart content area */}
{/* Empty state centered in chart area */}
{!meta?.filters && ( <> {/* Filter icon */}
{/* Empty state text */}

No Filters Selected

Please choose filters to narrow down your results and make your search easier.

)} {meta?.filters && ( <> {/* Filter icon */}
{/* Empty state text */}

Data Not Yet Available

Please change your filters to get the data.

)}
{[1, 2, 3, 4].map((item) => (
))}
{/* X-axis skeleton (bottom) */}
{[1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map((item) => (
))}
); }; export default DashboardLineChartSkeleton;