mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 22:50:19 +00:00
23 lines
345 B
R
23 lines
345 B
R
|
|
use dioxus::prelude::*;
|
|
fn component(cx: Scope) -> Element {
|
|
cx.render(rsx!(
|
|
div {
|
|
h1 {
|
|
"hello"
|
|
}
|
|
}
|
|
))
|
|
}
|
|
|
|
use dioxus::prelude::*;
|
|
fn component(cx: Scope) -> Element {
|
|
cx.render(rsx!(
|
|
div {
|
|
h1 {
|
|
"hello"
|
|
}
|
|
}
|
|
))
|
|
}
|
|
|