File tree Expand file tree Collapse file tree 1 file changed +23
-23
lines changed
Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Original file line number Diff line number Diff line change 1111
1212![ stacked] ( https://github.com/fkhadra/react-toastify/assets/5574267/975c7c01-b95e-43cf-9100-256fa8ef2760 )
1313
14+ ![ custom-style] ( https://github.com/user-attachments/assets/311672f7-f98a-46f3-a2ab-a9d1a05186a7 )
1415
15- 🎉 React-Toastify allows you to add notifications to your app with ease. No more nonsense!
16+ 🎉 React-Toastify allows you to add notifications to your app with ease.
1617
1718## Installation
1819
@@ -21,6 +22,27 @@ $ npm install --save react-toastify
2122$ yarn add react-toastify
2223```
2324
25+ ``` jsx
26+ import React from ' react' ;
27+
28+ import { ToastContainer , toast } from ' react-toastify' ;
29+
30+ function App (){
31+ const notify = () => toast (" Wow so easy!" );
32+
33+ return (
34+ < div>
35+ < button onClick= {notify}> Notify! < / button>
36+ < ToastContainer / >
37+ < / div>
38+ );
39+ }
40+ ```
41+
42+ ## Documentation
43+
44+ Check the [ documentation] ( https://fkhadra.github.io/react-toastify/introduction ) to get you started!
45+
2446## Features
2547
2648- Easy to set up for real, you can make it work in less than 10sec!
@@ -43,32 +65,10 @@ $ yarn add react-toastify
4365- Stacked notifications!
4466- And much more !
4567
46- ## The gist
47-
48- ``` jsx
49- import React from ' react' ;
50-
51- import { ToastContainer , toast } from ' react-toastify' ;
52-
53- function App (){
54- const notify = () => toast (" Wow so easy!" );
55-
56- return (
57- < div>
58- < button onClick= {notify}> Notify! < / button>
59- < ToastContainer / >
60- < / div>
61- );
62- }
63- ```
64-
6568## Demo
6669
6770[ A demo is worth a thousand words] ( https://fkhadra.github.io/react-toastify/introduction )
6871
69- ## Documentation
70-
71- Check the [ documentation] ( https://fkhadra.github.io/react-toastify/introduction ) to get you started!
7272
7373## Contribute
7474
You can’t perform that action at this time.
0 commit comments