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,7 +1,6 @@
// ANCHOR: all
#![allow(non_snake_case)]
use dioxus::events::FormData;
use dioxus::prelude::*;
fn main() {
@@ -83,7 +82,7 @@ fn Meme<'a>(cx: Scope<'a>, caption: &'a str) -> Element<'a> {
fn CaptionEditor<'a>(
cx: Scope<'a>,
caption: &'a str,
on_input: EventHandler<'a, FormData>,
on_input: EventHandler<'a, FormEvent>,
) -> Element<'a> {
let input_style = r"
border: none;