wip: more examples

This commit is contained in:
Jonathan Kelley committed 2021-07-06 12:13:00 -04:00
1 parent 904b26f711
commit 11f89e5d33
27 files changed
+64 -57

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ struct ExampleProps {
}
static Example: FC<ExampleProps> = |cx| {
let name = use_state_new(&cx, move || cx.initial_name);
let name = use_state(&cx, move || cx.initial_name);
cx.render(rsx! {
div {