mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
tweak: example
This commit is contained in:
parent
c439b0ac7e
commit
1c691e899c
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue