Project 'noh0605/react-material' was moved to 'HyunjinNoh/react-material'. Please update any links and bookmarks that may still have the old path.
Select Git revision
SnackMsg.js
-
HyunjinNoh authoredHyunjinNoh authored
SnackMsg.js 402 B
import React from 'react';
import {Snackbar} from '@mui/material';
const SnackMsg = (props) => {
return (
<Snackbar
open = {props.open}
anchorOrigin = {{vertical: 'bottom', horizontal: 'right'}}
autoHideDuration = {3000}
onClose = {props.onClose}
message = {props.message}>
</Snackbar>
);
}
export default SnackMsg;