0.0.5 • Published 2 years ago

t-react-toast v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

t-react-toast

A simple react toast component


previews/toast_preview.png

Usage:

  1. Install in your React.JS application: npm install t-react-toast / yarn add t-react-toast.
  2. In App.tsx a. Import : import {ToastComponent} from 't-react-toast'. b. Add it in your render method: <ToastComponent />.
  3. Import ToastService in your component: import {ToastService} from 't-react-toast'.
  4. Use ToastService to show alert in your component: ToastService.showToast({message: 'Hello World', type: 'success'}).

Demo

Live Demo

Available options

You can use bellow options to customise.

Coming soon

previews/toast_preview.gif

Thanks to Vinod Y for providing the design mockups.

License

MIT Licensed. Copyright (c) Manoj varma 2023.

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.1.0

2 years ago