import React from 'react';
import { Snackbar } from '@mui/material';
import PropTypes from 'prop-types';
import MuiAlert from '@mui/material/Alert';
export default function SnackBar({ message, open, handleClose }) {
const Alert = React.forwardRef(function Alert(props, ref) {
return ;
});
return (
<>
{message}
>
);
}
SnackBar.propTypes = {
message: PropTypes.string,
open: PropTypes.bool,
handleClose: PropTypes.bool
};