wip: move some examples around

This commit is contained in:
Jonathan Kelley committed 2021-07-07 16:19:10 -04:00
1 parent cca7c5fc3a
commit 98a09339fd
70 files changed
+111 -117

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@
//!
//! ```
//! static Example: FC<()> = |cx| {
//! let (val, set_val) = use_state(&cx, || 0);
//! let (val, set_val) = use_state(cx, || 0);
//! cx.render(rsx!(
//! button { onclick: move |_| set_val(val + 1) }
//! ))