parent_child example

This commit is contained in:
Greg Johnston 2024-02-21 11:06:44 -05:00
parent 5bc8c4e0d3
commit 524ed395fa
2 changed files with 6 additions and 5 deletions

View File

@ -2,15 +2,17 @@
- [x] counter
- [x] counters
- [x] fetch
- [ ] ErrorBoundary
- [x] todomvc
- [ ] parent\_child
- [x] error_boundary
- [x] parent\_child
- [ ] on: on components
- [ ] router
- [ ] slots
- [ ] hackernews
- [ ] counter\_isomorphic
- [ ] todo\_app\_sqlite
- ssr examples
- other ssr examples
- [ ] error boundary SSR
- reactivity
- Signal wrappers
- SignalDispose implementations on all Copy types

View File

@ -85,8 +85,7 @@ pub fn ButtonA(
#[component]
pub fn ButtonB<F>(
/// Callback that will be invoked when the button is clicked.
#[prop(into)]
mut on_click: F,
on_click: F,
) -> impl IntoView
where
F: FnMut(MouseEvent) + 'static,