1.0.1 • Published 2 years ago

elegant-toast v1.0.1

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

🎨 Features

一个简洁易用、支持多方向和自定义内容、样式、icon、promise 、手动关闭的 React Tosat 组件,类似于 antd 的 message 和 notification 。

FeaturesSupport
Icon、emoji✔️
Positions✔️
Customizable✔️
Promise✔️
Pause on hover✔️
Toggle direction✔️
Manual close✔️
SSR✔️

🚀 Quick Start

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>
  );
};

👔 Author

Jay-Ohhh

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page(Issues · Jay-Ohhh/rolib-cli · GitHub). You can also take a look at the contributing guide.

✨ Show your support

Give a ⭐️ if this project helped you!

🍺 参考

timolins/react-hot-toast

📝 License

Copyright © 2022 Jay-Ohhh.

This project is MIT licensed.

1.0.1

2 years ago

1.0.0

2 years ago