tweak: example
This commit is contained in:
1 parent
c439b0ac7e
commit
1c691e899c
1 file changed
+1
-1
@@ -91,7 +91,7 @@ fn app(cx: Scope) -> Element {
|
|||||||
struct ActionButtonProps<'a> {
|
struct ActionButtonProps<'a> {
|
||||||
name: &'a str,
|
name: &'a str,
|
||||||
id: &'a str,
|
id: &'a str,
|
||||||
onclick: EventHandler<'a, ()>,
|
onclick: EventHandler<'a>,
|
||||||
}
|
}
|
||||||
|
|
||||||
fn ActionButton<'a>(cx: Scope<'a, ActionButtonProps<'a>>) -> Element {
|
fn ActionButton<'a>(cx: Scope<'a, ActionButtonProps<'a>>) -> Element {
|
||||||
|
|||||||
Reference in new issue
Block a user