Skip to content
A material design snackbar react component (2KB gzipped)
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead of gokulkrishh:master.
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-custom-classname Build Status

A material design snackbar react component (2KB gzipped)

Created using react-material-snackbar-custom-classname

Demo

Installation

npm install --save react-material-snackbar-custom-classname

or

yarn add react-material-snackbar-custom-classname

Usage

import SnackBar from 'react-material-snackbar-custom-classname';

<SnackBar
  show={true}                            //Boolean  - Required and Default - `false`
  timer={6000}                           //Number   - Optional and Default - `4000` (4 secs)
  customClass={...}                      //String   - Optional
>
  // Pass any HTML element to render
  <p>Loading...</p>
</SnackBar>

License

Original package MIT © Gokulakrishnan Kalaikovan Thi version MIT Guillem Arias

You can’t perform that action at this time.