import { useTranslation } from "react-i18next"; import Stack from "@mui/material/Stack"; import RadioGroup from "@mui/material/RadioGroup"; import MenuItem from "@mui/material/MenuItem"; import { useTheme } from "@mui/material/styles"; import { RadioWithDescription, Select } from "@/Components/inputs"; import { STATUS_PAGE_THEMES, STATUS_PAGE_THEME_MODES, type StatusPageTheme, type StatusPageThemeMode, } from "@/Types/StatusPage"; interface Props { theme: StatusPageTheme; themeMode: StatusPageThemeMode; onThemeChange: (value: StatusPageTheme) => void; onThemeModeChange: (value: StatusPageThemeMode) => void; } export const ThemePicker = ({ theme, themeMode, onThemeChange, onThemeModeChange, }: Props) => { const { t } = useTranslation(); const muiTheme = useTheme(); return ( onThemeChange(value as StatusPageTheme)} > {STATUS_PAGE_THEMES.map((option) => ( ))} ); };