import Tooltip from "@mui/material/Tooltip"; import Box from "@mui/material/Box"; import type { SxProps, Theme } from "@mui/material/styles"; import { useTranslation } from "react-i18next"; import type { ChartCell, HeatCellKind, } from "@/Pages/StatusPage/Status/themes/shared/ChartCells"; interface Props { cells: ChartCell[]; containerSx: SxProps; cellSx: (kind: HeatCellKind) => SxProps; } export const ThemedHeatmap = ({ cells, containerSx, cellSx }: Props) => { const { t } = useTranslation(); return ( {cells.map((cell) => { if (cell.heatKind === "empty") { return ( ); } return ( ); })} ); };