import React from "react"; import ActivityCalendar from "react-activity-calendar"; import { Tooltip, Avatar } from "@mui/material"; import Link from "next/link"; type HeatmapProps = { data: Array<{ date: string; count: number; level: number }>; color: string; providerName: string; fullName: string; avatarUrl: string; }; const Heatmap: React.FC = ({ data, color, providerName, fullName, avatarUrl }) => { return (
{avatarUrl && ( )}

{fullName}

( {block} )} />
); }; export default Heatmap;