1.0.9 • Published 3 years ago

snackbar-notification-js v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

snackbar-notification-js

This is an amazing nodejs module which can be used to show notifications in your web apps. This looks like snackbar used in android.

Installation

Use the package manager npm to install foobar.

npm install snackbar-notification-js

Usage

import './App.css';
const snackBar = require('snackbar-notification-js')

function App() {

  window.onload = () => {
    snackBar('window loaded', 3000)
  }
  return (
    <>
      {/*Your HTML Here*/}
    </>
  );
}

export default App;

Parameters

There are two params for snackBar function

  • message (type: String) - contains the message to display
  • duration (type: Int) - time for which snackbar is visible in milliseconds(ms)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Creator

Shlok Nilesh Jain

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago