research-index / src /components /stats-card.tsx
ameerazampixis's picture
new
06a7653
raw
history blame
No virus
566 Bytes
import { Typography, Card } from "@material-tailwind/react";
interface StatsCardProps {
count: string;
title: string;
}
export function StatsCard({ count, title }: StatsCardProps) {
return (
<Card color="transparent" shadow={false} placeholder={""}>
<Typography variant="h1" className="font-bold" color="blue-gray" placeholder={""}>
{count}
</Typography>
<Typography variant="h6" color="blue-gray" className="mt-1 font-medium" placeholder={""}>
{title}
</Typography>
</Card>
);
}
export default StatsCard;