mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-21 10:03:13 +00:00
36 lines
589 B
R
36 lines
589 B
R
rsx! {
|
|
div {
|
|
// Comments
|
|
class: "asdasd",
|
|
"hello world"
|
|
}
|
|
div {
|
|
// My comment here 1
|
|
// My comment here 2
|
|
// My comment here 3
|
|
// My comment here 4
|
|
class: "asdasd",
|
|
|
|
// Comment here
|
|
onclick: move |_| {
|
|
let a = 10;
|
|
let b = 40;
|
|
let c = 50;
|
|
},
|
|
|
|
// my comment
|
|
|
|
// This here
|
|
"hi"
|
|
}
|
|
|
|
// Comment head
|
|
div { class: "asd", "Jon" }
|
|
|
|
// Comment head
|
|
div {
|
|
// Collapse
|
|
class: "asd",
|
|
"Jon"
|
|
}
|
|
}
|