Awesome toasts for React ๐
ไธไธช็ฎๆดๆ็จใๆฏๆๅคๆนๅๅ่ชๅฎไนๅ ๅฎนใๆ ทๅผใiconใpromise ใๆๅจๅ ณ้ญ็ React Tosat ็ปไปถ๏ผ็ฑปไผผไบ antd ็ message ๅ notification ใ
Features | Support |
---|---|
Iconใemoji | โ๏ธ |
Positions | โ๏ธ |
Customizable | โ๏ธ |
Promise | โ๏ธ |
Pause on hover | โ๏ธ |
Toggle direction | โ๏ธ |
Manual close | โ๏ธ |
SSR | โ๏ธ |
npm install elegant-toast
or
yarn add elegant-toast
Uasge
import toast from 'elegant-toast';
const message = () => toast('Hello World!');
const App = () => {
return (
<div>
<button onClick={message}>Make me a toast</button>
</div>
);
};
Jay-Ohhh
- Website: Jay-Ohhh (Jay-Ohhh) ยท GitHub
- Github: @Jay-Ohhh
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a โญ๏ธ if this project helped you!
Copyright ยฉ 2022 Jay-Ohhh.
This project is MIT licensed.