import Stack from "@mui/material/Stack"; import Typography from "@mui/material/Typography"; import Box from "@mui/material/Box"; import { BaseBox } from "@/Components/design-elements"; import { useTranslation } from "react-i18next"; import type { SxProps } from "@mui/material"; import { useTheme } from "@mui/material/styles"; type StatusBoxProps = React.PropsWithChildren<{ children: React.ReactNode; sx?: SxProps; }>; export const BGBox = ({ children, sx }: StatusBoxProps) => { const theme = useTheme(); return ( {children} ); }; const StatusBox = ({ label, n, color, sx, }: { label: string; n: number; color: string | undefined; sx?: SxProps; }) => { const theme = useTheme(); return ( {label} {n} ); }; export const UpStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ( ); }; export const DownStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ( ); }; export const PausedStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ( ); }; export const MaintenanceStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ( ); }; export const InitializingStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ( ); }; export const BreachedStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ( ); }; export const TotalChecksBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ( ); }; export const DownChecksBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ( ); }; export const UpChecksBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ( ); };