trivial fix for documentation example for onclick handler of buttons (#3882)

This commit is contained in:
Casey Kneale authored and GitHub committed 2025-03-16 16:25:17 -07:00
1 parent 09a4b5eb4e
commit 9e09bcf3f7
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ impl_event! {
///
/// ## Example
/// ```rust, ignore
/// rsx!( button { "click me", onclick: move |_| tracing::info!("Clicked!`") } )
/// rsx!( button { onclick: move |_| tracing::info!("Clicked!"), "click me" } )
/// ```
///
/// ## Reference