mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 14:40:44 +00:00
28 lines
573 B
Text
28 lines
573 B
Text
|
rsx! {
|
||
|
div {
|
||
|
Component {
|
||
|
adsasd: "asd",
|
||
|
onclick: move |_| {
|
||
|
let a = a;
|
||
|
},
|
||
|
div { "thing" }
|
||
|
}
|
||
|
Component {
|
||
|
asdasd: "asdasd",
|
||
|
asdasd: "asdasdasdasdasdasdasdasdasdasd",
|
||
|
..Props { a: 10, b: 20 }
|
||
|
}
|
||
|
Component {
|
||
|
asdasd: "asdasd",
|
||
|
..Props {
|
||
|
a: 10,
|
||
|
b: 20,
|
||
|
c: {
|
||
|
fn main() {}
|
||
|
},
|
||
|
},
|
||
|
"content"
|
||
|
}
|
||
|
}
|
||
|
}
|