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