mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-21 10:03:13 +00:00
14 lines
408 B
Text
14 lines
408 B
Text
|
fn SaveClipboard(cx: Scope) -> Element {
|
||
|
rsx! {
|
||
|
div { class: "relative w-1/2 {align} max-w-md leading-8",
|
||
|
h2 { class: "mb-6 text-3xl leading-tight md:text-4xl md:leading-tight lg:text-3xl lg:leading-tight font-heading font-mono font-bold",
|
||
|
"{title}"
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
|
||
|
cx.render(rsx! {
|
||
|
div { "hello world", "hello world", "hello world" }
|
||
|
})
|
||
|
}
|