react-material-snackbar
v3.0.1
Published
A material design snackbar react component.
Downloads
68
Maintainers
Readme
react-material-snackbar
A material design snackbar react component (1.42KB gzip)
Created using react-component-boilerplate
Demo
Installation
npm install --save react-material-snackbar
or
yarn add react-material-snackbar
Usage
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>