mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-30 16:09:12 +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"
|
|
}
|
|
}
|
|
))
|
|
}
|
|
|