1.0.29 • Published 8 months ago
react-awesome-toast v1.0.29
✔ React-Awesome-Toast allows you to add notifications to your react app
Installation
$ npm install --save react-awesome-toast
$ yarn add react-awesome-toast
Features
- Installing and using this package is very simple
- Define behavior per toast
- Fancy progress bar to display the remaining time
- Possibility to update a toast
- Dark 🌒 and light ☀ mode
- Ability to set the duration of toast display
- Determinig where to display the toast, you can set four positions: top-right | top-left | bottom-right | bottom-left
- types: success | warning | error | promise
- And much more !
Example
import React from 'react';
import { ToastContainer, toast } from 'react-awesome-toast';
const App = () => {
const handleShowToast = () => toast({title:"react-awesome-toast",type:"success"})
return (
<div>
<button onClick={handleShowToast}>Show Toast</button>
<ToastContainer />
</div>
);
}
License
Licensed under MIT
1.0.19
11 months ago
1.0.18
11 months ago
1.0.17
11 months ago
1.0.16
11 months ago
1.0.9
11 months ago
1.0.8
11 months ago
1.0.7
11 months ago
1.0.6
11 months ago
1.0.22
10 months ago
1.0.21
10 months ago
1.0.20
11 months ago
1.0.26
8 months ago
1.0.25
8 months ago
1.0.24
8 months ago
1.0.23
10 months ago
1.0.29
8 months ago
1.0.28
8 months ago
1.0.27
8 months ago
1.0.11
11 months ago
1.0.10
11 months ago
1.0.15
11 months ago
1.0.14
11 months ago
1.0.13
11 months ago
1.0.12
11 months ago
1.0.5
12 months ago
1.0.4
12 months ago
1.0.3
12 months ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago
0.2.13
1 year ago
0.2.12
1 year ago
0.2.11
1 year ago
0.2.10
1 year ago
0.2.9
1 year ago
0.2.8
1 year ago
0.2.7
1 year ago
0.2.6
1 year ago
0.1.6
1 year ago
0.1.5
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago