feat: full html support

This commit is contained in:
Jonathan Kelley committed 2021-10-19 22:39:27 -04:00
1 parent e86c1d8972
commit 79503f15c5
10 files changed
+343 -73

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
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 = html! {
<div>
"hello world"
"hello world"
"hello world"
"hello world"
</div>
};
}
fn rsx_uage() {
let r = html! {
<Fragment>
"hello world"
"hello world"
"hello world"
"hello world"
</Fragment>
};
}