1.0.8 • Published 11 months ago

really-simple-toast v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Really Simple Toast

It's a light and simple package to show toast in your web with the all frameworks of JS. Disappear in 3.5 seconds or clicking.

Logo

Installation

Install the toast with npm

  npm i really-simple-toast

Usage/Examples

import Toasted from 'really-simple-toast';

function App() {
    Toasted.fire('User logged correctly', 'success');
}

Methods and properties

  • Fire:
    • First param : Text to show in toast
    • Second param 'success' | 'error' | 'warning': Three differents styles, green, yellow or red.
    • Third param : By default is false, is for dark mode, if your are building a two mode web maybe you want to change the toast to dark or light. It's just change background to black and text to white.

Contact

If you need to contact or need some specifications or suggestions write me! danirdev96@gmail.com (if you know, spanish better ;))

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago