improv(toaster): API consistency improvements

This commit is contained in:
Michael Aaron Murphy 2024-07-22 15:34:26 +02:00
parent 1e5828e01c
commit ece6edac8d
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
2 changed files with 40 additions and 59 deletions

View file

@ -317,6 +317,10 @@ pub use text_input::{
editable_input, inline_input, search_input, secure_input, text_input, TextInput,
};
pub mod toaster;
#[doc(inline)]
pub use toaster::{toaster, Toast, Toasts};
mod toggler;
#[doc(inline)]
pub use toggler::toggler;
@ -349,6 +353,3 @@ pub mod tooltip {
pub mod warning;
#[doc(inline)]
pub use warning::*;
#[cfg(any(feature = "winit", feature = "wayland"))]
pub mod toaster;