diff --git a/leptos_macro/example/src/lib.rs b/leptos_macro/example/src/lib.rs index 175b9cc80..791e4021f 100644 --- a/leptos_macro/example/src/lib.rs +++ b/leptos_macro/example/src/lib.rs @@ -38,7 +38,7 @@ pub fn TestComponent( } #[component] -fn TestMutCallback(mut callback: F, value: &'static str) -> impl IntoView +pub fn TestMutCallback(mut callback: F, value: &'static str) -> impl IntoView where F: FnMut(u32) + 'static, { @@ -46,9 +46,7 @@ where view! { + }>{value} } }