feat: add proper event type

This commit is contained in:
Jonathan Kelley committed 2022-12-19 14:14:01 -08:00
1 parent aa71c111cd
commit 50faa7dd08
22 files changed
+273 -47

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ use dioxus_core::Event;
pub type AnimationEvent = Event<AnimationData>;
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq)]
pub struct AnimationData {
pub animation_name: String,
pub pseudo_element: String,