diff --git a/src/Website/docs/Blazor.md b/src/Website/docs/Blazor.md index 29c89ce..3a0030a 100644 --- a/src/Website/docs/Blazor.md +++ b/src/Website/docs/Blazor.md @@ -73,7 +73,7 @@ Additionally, some parameter types must be handled specially: let myButton model dispatch = comp { - attr.callback "OnClick" (fun _ -> dispatch ButtonClicked) + on.click (fun _ -> dispatch ButtonClicked) "Click me!" } ```