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
+5 -1
View File
@@ -206,7 +206,11 @@ mod stories {
}
}
fn render(&mut self, _view: &mut S, cx: &mut ViewContext<S>) -> impl Element<ViewState = S> {
fn render(
&mut self,
_view: &mut S,
cx: &mut ViewContext<S>,
) -> impl Element<ViewState = S> {
let icons = Icon::iter();
Story::container(cx)