tweak: example

This commit is contained in:
Jonathan Kelley 2022-01-07 11:53:19 -05:00
parent c439b0ac7e
commit 1c691e899c

View file

@ -91,7 +91,7 @@ fn app(cx: Scope) -> Element {
struct ActionButtonProps<'a> {
name: &'a str,
id: &'a str,
onclick: EventHandler<'a, ()>,
onclick: EventHandler<'a>,
}
fn ActionButton<'a>(cx: Scope<'a, ActionButtonProps<'a>>) -> Element {