A material design snackbar react component (2KB gzipped)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
demo
dist
src
.babelrc
.gitignore
.travis.yml
LICENSE
README.md
package.json
webpack.build.config.js
webpack.config.js
yarn.lock

README.md

react-material-snackbar Build Status

A material design snackbar react component (2KB gzipped)

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>

License

MIT © Gokulakrishnan Kalaikovan