small clean up

This commit is contained in:
2024-12-01 13:25:31 +01:00
parent 253078957b
commit 36744b9b3e
+3 -1
View File
@@ -4,7 +4,9 @@ pub fn examples() -> Element {
rsx! { rsx! {
styling: Some(styling()), styling: Some(styling()),
button { class: "btn", "Click me!\nsdusajuda" } button { class: "btn", on_click: fn(_, _, document) {
document.exit();
}, "Click me!" }
text { "Welcome!" } text { "Welcome!" }
} }