import { ReactNode } from 'react'; import { Table } from './ui/table'; interface ResponsiveDataTableProps { children: ReactNode; className?: string; } export function ResponsiveDataTable({ children, className = '' }: ResponsiveDataTableProps) { return (
{/* Desktop Table */}
{children}
{/* Mobile View - Will be handled by individual components with cards */}
{children}
); } interface StatCardProps { icon: ReactNode; title: string; value: string | number; subtitle?: string; trend?: { value: number; isPositive: boolean; }; bgColor?: string; iconBgColor?: string; iconColor?: string; } export function StatCard({ icon, title, value, subtitle, trend, bgColor = 'bg-white', iconBgColor = 'bg-[#E0F4F5]', iconColor = 'text-[#088395]' }: StatCardProps) { return (

{title}

{value}

{subtitle && (

{subtitle}

)} {trend && (
{trend.isPositive ? '↑' : '↓'} {Math.abs(trend.value)}%
)}
{icon}
); }