mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-20 01:23:24 +00:00
17 lines
332 B
Rust
17 lines
332 B
Rust
use dioxus::component::Component;
|
|
use dioxus::events::on::MouseEvent;
|
|
use dioxus_core as dioxus;
|
|
use dioxus_core::prelude::*;
|
|
use dioxus_core_macro::*;
|
|
use dioxus_html as dioxus_elements;
|
|
|
|
fn main() {}
|
|
|
|
fn html_usage() {
|
|
let r = rsx! {
|
|
div {
|
|
onclick: move |_| {}
|
|
"hello world"
|
|
}
|
|
};
|
|
}
|