A material design snackbar react component (2KB gzipped)
Created using react-component-boilerplate
npm install --save react-material-snackbar
or
yarn add react-material-snackbar
import SnackBar from 'react-material-snackbar';
<SnackBar
show={true} //Boolean - Required and Default - `false`
timer={6000} //Number - Optional and Default - `4000` (4 secs)
>
// Pass any HTML element to render
<p>Loading...</p>
</SnackBar>