plane/apps/app/components/project/cycles/stats-view/index.tsx
2022-12-15 09:47:56 +05:30

24 lines
426 B
TypeScript

// next
import Link from "next/link";
// hooks
import useUser from "lib/hooks/useUser";
// types
import { ICycle } from "types";
import SingleStat from "./single-stat";
type Props = {
cycles: ICycle[];
};
const CycleStatsView: React.FC<Props> = ({ cycles }) => {
return (
<>
{cycles.map((cycle) => (
<SingleStat key={cycle.id} cycle={cycle} />
))}
</>
);
};
export default CycleStatsView;