import { Button, Stack } from "@mui/material"; import { useTheme } from "@mui/material/styles"; import { useNavigate } from "react-router-dom"; import { useTranslation } from "react-i18next"; import PropTypes from "prop-types"; const FallbackActionButtons = ({ link, type }) => { const theme = useTheme(); const navigate = useNavigate(); const { t } = useTranslation(); return ( {type === "uptimeMonitor" && ( )} ); }; FallbackActionButtons.propTypes = { title: PropTypes.string.isRequired, link: PropTypes.string.isRequired, type: PropTypes.string.isRequired, }; export default FallbackActionButtons;