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