Add missing derive Element

Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
This commit is contained in:
Nate Butler 2023-10-13 10:47:39 -04:00
parent c6d831a564
commit caa0eb6e29
2 changed files with 1 additions and 0 deletions

View file

@ -10,6 +10,7 @@ use crate::{
/// that requires them to take action.
///
/// To simply convey information, use a Status.
#[derive(Element)]
pub struct NotificationToast<S: 'static + Send + Sync + Clone> {
state_type: PhantomData<S>,
left_icon: Option<Icon>,