docs: start on components
This commit is contained in:
1 parent
e1c858dda5
commit
9b5f82af7d
5 files changed
+61
-8
No files matched your search
@@ -8,9 +8,12 @@ use dioxus_html as dioxus_elements;
|
||||
fn main() {}
|
||||
|
||||
fn html_usage() {
|
||||
let mo = move |_| {};
|
||||
let r = rsx! {
|
||||
div {
|
||||
onclick: move |_| {}
|
||||
onmouseover: {mo}
|
||||
"type": "bar",
|
||||
"hello world"
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user