Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fkhadra committed Dec 16, 2024
1 parent 7c4868b commit 815a640
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@

![stacked](https://github.com/fkhadra/react-toastify/assets/5574267/975c7c01-b95e-43cf-9100-256fa8ef2760)

![custom-style](https://github.com/user-attachments/assets/311672f7-f98a-46f3-a2ab-a9d1a05186a7)

🎉 React-Toastify allows you to add notifications to your app with ease. No more nonsense!
🎉 React-Toastify allows you to add notifications to your app with ease.

## Installation

Expand All @@ -21,6 +22,27 @@ $ npm install --save react-toastify
$ yarn add react-toastify
```

```jsx
import React from 'react';

import { ToastContainer, toast } from 'react-toastify';

function App(){
const notify = () => toast("Wow so easy!");

return (
<div>
<button onClick={notify}>Notify!</button>
<ToastContainer />
</div>
);
}
```

## Documentation

Check the [documentation](https://fkhadra.github.io/react-toastify/introduction) to get you started!

## Features

- Easy to set up for real, you can make it work in less than 10sec!
Expand All @@ -43,32 +65,10 @@ $ yarn add react-toastify
- Stacked notifications!
- And much more !

## The gist

```jsx
import React from 'react';

import { ToastContainer, toast } from 'react-toastify';

function App(){
const notify = () => toast("Wow so easy!");

return (
<div>
<button onClick={notify}>Notify!</button>
<ToastContainer />
</div>
);
}
```

## Demo

[A demo is worth a thousand words](https://fkhadra.github.io/react-toastify/introduction)

## Documentation

Check the [documentation](https://fkhadra.github.io/react-toastify/introduction) to get you started!

## Contribute

Expand Down

0 comments on commit 815a640

Please sign in to comment.