docs: fixed typo in parent-child doc (#1300)

This commit is contained in:
webmstk 2023-07-07 20:59:08 +03:00 committed by GitHub
parent 8967eadc02
commit c2cfdf3678
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,7 +117,7 @@ pub fn App(cx: Scope) -> impl IntoView {
#[component]
pub fn ButtonC<F>(cx: Scope) -> impl IntoView {
pub fn ButtonC(cx: Scope) -> impl IntoView {
view! { cx,
<button>"Toggle"</button>
}