import { Box, Card, Typography } from '@mui/material' import { TrendingUp, TrendingDown } from 'lucide-react' import type { SxProps, Theme } from '@mui/material' import type { ReactNode } from 'react' interface MetricDelta { value: string positive: boolean } interface MetricCardProps { label: string value: string | number delta?: MetricDelta icon?: ReactNode color?: string sx?: SxProps } export function MetricCard({ label, value, delta, icon, color = '#1e3a5f', sx }: MetricCardProps) { return ( {label} {value} {delta && ( {delta.positive ? : } {delta.value} )} {icon && ( {icon} )} ) }