Toastr
Description
Imperative toast notification service for Enso UI.
Installation
Install the package:
yarn add @enso-ui/toastr
Features
- exports an imperative singleton for success, warning, info, and error notifications
- creates and mounts the Bulma notification container lazily
- supports chaining title, icon, duration, and HTML options
Usage
import toastr from '@enso-ui/toastr';
toastr.success('Saved');
toastr.title('Done').info('Profile updated');
API
Depends On
- No additional Enso UI dependencies.
Contributions
are welcome. Pull requests are great, but issues are good too. Thank you to all the people who already contributed to Enso!