feat: full html support
This commit is contained in:
1 parent
e86c1d8972
commit
79503f15c5
10 files changed
+343
-73
No files matched your search
@@ -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>
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user