Package Exports
- js-snackbar
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (js-snackbar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
js-snackbar
Custom SnackBar notifications inspired by Material Design and node-snackbar
Installation
npm install js-snackbarUsage
// require css for your app's bundle process
require('../node_modules/js-snackbar/dist/snackbar.css');
import {show} from 'js-snackbar';
show({pos: 'bottom-right'});Run Locally
Global Dependencies:
npm install -g npm3
npm3 install -g webpack webpack-dev-serverFire up the local server @ http://localhost:8080
npm3 run devBuild ouput in the dist folder
npm3 run distInspiration
This repo was lovingly forked and hacked from the awesome node-snackbar
A few of the changes:
- Ability to use an action icon button
- Ability to display a notify icon
- Ability to display a notify image
- Local React hacking environment
- ES6 modules
- Module bundling with Webpack and Babel