fix: Fix stop_propagation example (#1143)

This commit is contained in:
Marc Espín authored and GitHub committed 2023-07-02 12:04:49 -05:00
1 parent 6512c153dd
commit cb73343865
1 file changed
+1 -1
+1 -1
View File
@@ -53,7 +53,7 @@ impl<T> Event<T> {
/// rsx! {
/// button {
/// onclick: move |evt: Event<MouseData>| {
/// evt.cancel_bubble();
/// evt.stop_propagation();
/// }
/// }
/// }