| 1 | "use client" |
| 2 | |
| 3 | export function ChartCard({ |
| 4 | title, |
| 5 | current, |
| 6 | children, |
| 7 | }: { |
| 8 | title: string |
| 9 | current?: string |
| 10 | children: React |
| 11 | }) { |
| 12 | return ( |
| 13 | <div className="flex flex-col rounded-xl border border-border bg-card p-4 |
| 14 | <div className="mb-2 flex items-baseline justify-between gap-2 |
| 15 | <span className="text-xs font-medium text-muted-foreground |
| 16 | {current && <span |
| 17 | </div> |
| 18 | <div className="h-48 |
| 19 | </div> |
| 20 | ); |
| 21 | } |