typescript import React from 'react' import { LucideIcon } from 'lucide-react' interface KPICardProps { title: string value: string change: string trend: 'up' | 'down' icon: LucideIcon } const KPICard: React.FC = ({ title, value, change, trend, icon: Icon }) => { return (

{title}

{value}

{trend === 'up' ? ( ) : ( )} {change} from last week
) } export default KPICard