import { AddIcon } from "./icons"; import { Button } from "./ui/button"; import { Progress } from "./ui/progress"; interface UsageCardProps { label: string, monthlyUsage: number, // Asumming that the minimium is 1GB currentUsage: number, icon: React.ReactNode } export const UsageCard = ({ label, monthlyUsage, currentUsage, icon }: UsageCardProps) => { return (
{icon} {label}
Montly {label.toLocaleLowerCase()} limit is {monthlyUsage} GB
{currentUsage} GB used {monthlyUsage - currentUsage} GB left
) }