mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 23:14:59 -05:00
24 lines
711 B
TypeScript
24 lines
711 B
TypeScript
|
|
import { DollarSign } from "lucide-react";
|
||
|
|
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
||
|
|
|
||
|
|
export default function Component(props: {
|
||
|
|
title: string;
|
||
|
|
desc: string | JSX.Element;
|
||
|
|
icon: any;
|
||
|
|
className?: string;
|
||
|
|
}) {
|
||
|
|
return (
|
||
|
|
<Card className={props.className}>
|
||
|
|
<CardHeader className=" flex flex-row items-center justify-between space-y-0 pb-2">
|
||
|
|
<CardTitle className=" text-sm font-medium m-0">
|
||
|
|
{props.title}
|
||
|
|
</CardTitle>
|
||
|
|
<props.icon className=" h-4 w-4 text-muted-foreground" />
|
||
|
|
</CardHeader>
|
||
|
|
<CardContent>
|
||
|
|
<div className=" text-2xl font-bold">{props.desc}</div>
|
||
|
|
</CardContent>
|
||
|
|
</Card>
|
||
|
|
);
|
||
|
|
}
|