toast_container

Function toast_container 

Source
pub fn toast_container<F>(position_class: &str, f: F) -> Element<Div>
where F: FnOnce(Element<Div>) -> Element<Div>,
Expand description

Create a toast container for stacking multiple toasts.

Position classes: top-0/bottom-0, start-0/end-0, translate-middle