README
Notify Space
Simple notifications for web applications
Usage
- First install the package with npm or Yarn.
# with yarn
yarn add notify-space
# or with npm
npm install notify-space
- And here comes the fun part.
import notify from 'notify-space'
notify({
text: "See you space cowboy ...", // Message to be displayed
duration: 4000, // Notificacion duration, it's optional, by default is `2000`
theme: 'dark' // Theme available => ['light', 'dark', 'success'], by default is `dark`
})
// or just
notify("The space is wonderful")