mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-18 08:33:07 +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"
|
|
}
|
|
}
|