feat: add aria
This commit is contained in:
1 parent
c79d9ae674
commit
4091846934
11 files changed
+322
-97
No files matched your search
@@ -89,7 +89,7 @@ static Example: FC<()> = |cx| {
|
||||
|
||||
// Expressions can be used in element position too:
|
||||
{rsx!(p { "More templating!" })}
|
||||
{html!(<p>"Even HTML templating!!"</p>)}
|
||||
// {html!(<p>"Even HTML templating!!"</p>)}
|
||||
|
||||
// Iterators
|
||||
{(0..10).map(|i| rsx!(li { "{i}" }))}
|
||||
|
||||
+4
-1
@@ -2,7 +2,7 @@ use std::cell::Cell;
|
||||
|
||||
use dioxus::prelude::*;
|
||||
use dioxus_core::{
|
||||
nodes::{NodeKey, VElement, VText},
|
||||
nodes::{VElement, VText},
|
||||
RealDomNode,
|
||||
};
|
||||
|
||||
@@ -23,6 +23,9 @@ const Example: FC<()> = |cx| {
|
||||
Fragment {
|
||||
Fragment {
|
||||
"h1"
|
||||
div {
|
||||
|
||||
}
|
||||
}
|
||||
"h2"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user