improv(toaster): API consistency improvements
This commit is contained in:
parent
1e5828e01c
commit
ece6edac8d
2 changed files with 40 additions and 59 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue