import Box from "@mui/material/Box"; import { StatBox } from "@/Components/design-elements"; import { useTranslation } from "react-i18next"; import prettyBytes from "pretty-bytes"; import { useTheme } from "@mui/material"; import type { Diagnostics } from "@/Types/Diagnostics"; import { LAYOUT } from "@/Utils/Theme/constants"; interface MongoStatsProps { diagnostics: Diagnostics | null; } export const MongoStats = ({ diagnostics }: MongoStatsProps) => { const theme = useTheme(); const { t } = useTranslation(); const mongoStats = diagnostics?.mongoStats; if (!mongoStats) { return null; } return ( *": { width: "100% !important" }, }} > ); };