Expand description
yew-notifications notifications components library for Yew. It’s like react-toastify but for yew and more simpler.
The purpose of this library is to provide the ability to easily add notifications to the yew web app.
§Examples
Structs§
- Notifications
Manager - Returned object from the
use_notification
hook. Can spawn new notifications. - Notifications
Provider - The notification provider component.
- Notifications
Provider Props - Props for
NotificationsProvider
Enums§
- Notifications
Position - Notifications position on the screen
Traits§
- Notifiable
- This trait provides an interface for the notification. Everything,
that implements this trait, can be used in the
NotificationsProvider
. - Notifiable
Component Factory - This trait provides an interface for the notification component factory.
Functions§
- use_
notification - This hook is used to manage notifications.
Returned
NotificationsManager
can be used to spawn new notifications of the typeT
.