Add notification toast component and remove ToastVariant from toast.rs

This commit is contained in:
Nate Butler 2023-10-13 10:05:50 -04:00
parent 44a30e269e
commit c32b081029
4 changed files with 70 additions and 8 deletions

View file

@ -10,13 +10,6 @@ pub enum ToastOrigin {
BottomRight,
}
#[derive(Default, Debug, PartialEq, Eq, Clone, Copy)]
pub enum ToastVariant {
#[default]
Toast,
Status,
}
/// A toast is a small, temporary window that appears to show a message to the user
/// or indicate a required action.
///