mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-18 14:48:26 +00:00
27 lines
413 B
R
27 lines
413 B
R
rsx! {
|
|
// Does this work?
|
|
for i in b {
|
|
// Hey it works?
|
|
div {}
|
|
}
|
|
|
|
// Some ifchain
|
|
if a > 10 {
|
|
//
|
|
div {}
|
|
} else if a > 20 {
|
|
h1 {}
|
|
} else if a > 20 {
|
|
h1 {}
|
|
} else if a > 20 {
|
|
h1 {}
|
|
} else if a > 20 {
|
|
h1 {}
|
|
} else if a > 20 {
|
|
h1 {}
|
|
} else if a > 20 {
|
|
h1 {}
|
|
} else {
|
|
h3 {}
|
|
}
|
|
}
|