import { ReactNode } from 'react'; import { Card, Flex, Skeleton, Tooltip, Typography } from 'antd'; import { ExclamationCircleOutlined } from '@ant-design/icons'; import { colors } from '@/styles/colors'; type InsightCardProps = { icon: string; title: string; tooltip?: string; children: ReactNode; loading?: boolean; }; const ProjectStatsCard = ({ icon, title, tooltip, children, loading }: InsightCardProps) => { return ( {`${title.toLowerCase()} {title} {tooltip && ( )} {children} ); }; export default ProjectStatsCard;