Transition counter example to use View

This commit is contained in:
Greg Johnston 2022-12-08 19:33:01 -05:00
parent eb40f9f7c7
commit b8559d4335

View file

@ -1,6 +1,6 @@
use leptos::*;
pub fn simple_counter(cx: Scope) -> web_sys::Element {
pub fn simple_counter(cx: Scope) -> View {
let (value, set_value) = create_signal(cx, 0);
view! { cx,