"use client"; import { TrendingDown, TrendingUp } from "lucide-react"; // Trend indicator component for metric cards export const TrendIndicator = ({ current, previous, }: { current: number; previous: number; }) => { if (!current || !previous) return null; const percentChange = ((current - previous) / previous) * 100; if (Math.abs(percentChange) < 0.1) return null; return (