docs: remove all usages of static closure syntax and update readme
This commit is contained in:
1 parent
d1560450ba
commit
cafb7df736
66 files changed
+792
-2019
No files matched your search
@@ -5,4 +5,6 @@
|
||||
|
||||
use dioxus::prelude::*;
|
||||
|
||||
pub static Example: Component = |cx| cx.render(rsx! { Fragment {} });
|
||||
pub fn Example(cx: Scope) -> Element {
|
||||
None
|
||||
}
|
||||
Reference in new issue
Block a user