Open marc2332 opened 2 months ago
Just tried this out with the
0.6.0-alpha.2
version of dioxus.It doesn't compile because there's a comma separating two
Element
s
packages/lib/src/icon_component.rs
if let Some(title_text) = props.title { title { "{title_text}" } }, // <-- comma needs to be removed {props.icon.child_elements()}
packages/example/src/main.rs
h3 { "Frontend that scales." } p { "Dioxus is a portable, performant, and ergonomic framework for building cross-platform user interfaces in Rust." }, // <-- comma needs to be removed Icon { width: 60, height: 60, icon: FaRust, }
damn it!
Try now @IroncladDev (I haven't tested it myself)
Just tried this out with the
0.6.0-alpha.2
version of dioxus.It doesn't compile because there's a comma separating two
Element
spackages/lib/src/icon_component.rs
packages/example/src/main.rs