import React from "react"; import { ProgressBar } from "components/ui"; type TSingleProgressStatsProps = { title: any; completed: number; total: number; }; export const SingleProgressStats: React.FC = ({ title, completed, total, }) => (
{title}
{Math.floor((completed / total) * 100)}%
of {total}
);