important error

This commit is contained in:
2024-10-19 14:38:15 +02:00
parent 08ef8b59db
commit 43a9a9281e
4 changed files with 28 additions and 24 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ fn onclick(c: &mut Component) {
fn app_elem() -> Component {
oml!(
div {
button("click me"; toggle = true, on_click = onclick)
button("click me"; toggle = true, y = 2, on_click = onclick)
button("click me"; toggle = false, on_click = onclick)
button("click me"; toggle = false, y = 2, on_click = onclick)
}
)
}