Spaces:
Runtime error
Runtime error
File size: 797 Bytes
06a7653 6873acf 06a7653 6873acf 06a7653 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
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={""} onPointerEnterCapture={() => {}}
onPointerLeaveCapture={() => {}}>
<Typography variant="h1" className="font-bold" color="blue-gray" placeholder={""} onPointerEnterCapture={() => {}}
onPointerLeaveCapture={() => {}}>
{count}
</Typography>
<Typography variant="h6" color="blue-gray" className="mt-1 font-medium" placeholder={""} onPointerEnterCapture={() => {}}
onPointerLeaveCapture={() => {}}>
{title}
</Typography>
</Card>
);
}
export default StatsCard;
|