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
@@ -2,7 +2,7 @@ use dioxus_core::Event;
pub type TransitionEvent = Event<TransitionData>;
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq)]
pub struct TransitionData {
pub property_name: String,
pub pseudo_element: String,