chore: clean up docs with changes to templates

This commit is contained in:
Jonathan Kelley committed 2022-12-07 13:39:22 -08:00
1 parent f075a519cc
commit a252774226
18 files changed
+34 -399

No files matched your search

+1 -2
View File
@@ -1,6 +1,5 @@
#![allow(non_snake_case)]
use dioxus::events::MouseData;
use dioxus::prelude::*;
fn main() {
@@ -20,7 +19,7 @@ fn App(cx: Scope) -> Element {
// ANCHOR: component_with_handler
#[derive(Props)]
pub struct FancyButtonProps<'a> {
on_click: EventHandler<'a, MouseData>,
on_click: EventHandler<'a, MouseEvent>,
}
pub fn FancyButton<'a>(cx: Scope<'a, FancyButtonProps<'a>>) -> Element<'a> {