Crate leptos_toaster

Crate leptos_toaster 

Source

Structs§

ToastId
A ToastId is basically a simple wrapper around a [u8; 64] which makes it easy to use strings and integers as Id’s
ToastOptions
Toasts

Enums§

ToasterPosition
Possible positions for the toasts

Functions§

Toaster
Toaster context provider. Wrap your app in the Toaster to use the Toasts context in children
dismiss_toast
Call this to dismiss the toast with the given id
provide_toasts
Provide Toasts for a Toaster