import { Box, Typography, Divider } from "@mui/material"; import Checkbox from "@/Components/v1/Inputs/Checkbox/index.jsx"; import Icon from "@/Components/v1/Icon"; import LegendBox from "@/Components/v1/Charts/LegendBox/index.jsx"; import { useTranslation } from "react-i18next"; import { useTheme } from "@emotion/react"; const AreaChartLegend = ({ metrics, handleMetrics }) => { const theme = useTheme(); const { t } = useTranslation(); return ( } header="Metrics" > {t("shown")} handleMetrics("accessibility")} /> handleMetrics("bestPractices")} /> handleMetrics("performance")} /> handleMetrics("seo")} /> ); }; export default AreaChartLegend;