"use client"; import { FC, } from "react"; import { Grid, Box } from "@mui/material"; import { useTranslate } from "react-polyglot"; import { PageHeader } from "@/app/_components/PageHeader"; import { VisualizationCard } from "@/app/_components/VisualizationCard"; import { useAppContext } from "@/app/_components/AppProvider"; type TrendsProps = { visualizations: any; }; export const Trends: FC = ({ visualizations }) => { const t = useTranslate(); const { colors: { cdrLinkOrange }, typography: { h1, h4, p }, } = useAppContext(); return ( <> {/* */} {t("trendsTitle")} {t("trendsSubtitle")} {t("trendsDescription")} {visualizations.map((visualization: any, index: number) => ( ))} ); };