small clean up
This commit is contained in:
+3
-1
@@ -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!" }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user