12345678910111213141516171819202122 |
- use dioxus_core::prelude::*;
- fn main() {}
- pub static Example: FC<()> = |cx| {
- let list = (0..10).map(|f| LazyNodes::new(move |f| todo!()));
- cx.render(LazyNodes::new(move |cx| {
- cx.raw_element(
- "div",
- None,
- [],
- [],
- [
- cx.text(format_args!("hello")),
- cx.text(format_args!("hello")),
- cx.fragment_from_iter(list),
- ],
- None,
- )
- }))
- };
|