split toast into alert and toast

This commit is contained in:
2026-11-01 09:20:10 +07:00
parent 9ddf8fe90f
commit 5a32401e25
10 changed files with 954 additions and 235 deletions
+3
View File
@@ -3,6 +3,9 @@
pub use gpui_native_theme::Size;
pub use gpui_native_utils::{h_flex, v_flex};
/// A handler told to clean up after a dismissed surface.
pub type DismissHandler = std::rc::Rc<dyn Fn(&mut gpui::App)>;
/// A component that can be told which size to render at.
pub trait Sizable: Sized {
/// Sets the size.