import { Alert, AlertColor, Snackbar, SnackbarOrigin } from '@mui/material' import React from 'react' interface ISnackbarAlertProps { isOpen: boolean; message: string; type: AlertColor; position?: SnackbarOrigin; autoHideDuration?: number; variant?: 'filled' | 'standard' | 'outlined'; onClose: () => void; } const SnackbarAlert = ({ isOpen, message, type, position, autoHideDuration = 3000, variant, onClose, }: ISnackbarAlertProps) => (
{message}
) export default SnackbarAlert