import React from "react"; import { Building } from "lucide-react"; type DashCardProps = { title: string; icon: React.ReactNode; value: number; fromColor: string; toColor: string; }; const DashCard: React.FC = ({ title, icon, value, fromColor, toColor, }) => { return (
{title}
{icon}
{value}
); }; export default DashCard;