Components participate in event handlers
This commit is contained in:
12 files changed
+86
-54
No files matched your search
@@ -17,11 +17,9 @@ fn app(cx: Scope) -> Element {
|
||||
response.respond(Response::new(include_bytes!("./assets/logo.png").to_vec()));
|
||||
});
|
||||
|
||||
cx.render(rsx! {
|
||||
render! {
|
||||
div {
|
||||
img {
|
||||
src: "/logos/logo.png"
|
||||
}
|
||||
img { src: "/logos/logo.png" }
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user