feat: host toasts and alerts in the shell
This commit is contained in:
@@ -283,6 +283,7 @@ impl ToastEntry {
|
||||
|
||||
div()
|
||||
.id(("toast", id))
|
||||
.debug_selector(|| "toast-pill".to_string())
|
||||
.role(Role::Alert)
|
||||
.aria_label(toast.message.clone())
|
||||
.max_w(TOAST_MAX_WIDTH)
|
||||
|
||||
Reference in New Issue
Block a user