Add notification toast component and remove ToastVariant from toast.rs
This commit is contained in:
parent
44a30e269e
commit
c32b081029
4 changed files with 70 additions and 8 deletions
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue