mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-14 00:27:12 +00:00
chore: cargo fmt
This commit is contained in:
parent
69abde6205
commit
b46b026e42
1 changed files with 1 additions and 2 deletions
|
@ -69,8 +69,7 @@ pub fn ButtonA(
|
|||
pub fn ButtonB(
|
||||
/// Callback that will be invoked when the button is clicked.
|
||||
on_click: impl FnMut(MouseEvent) + 'static,
|
||||
) -> impl IntoView
|
||||
{
|
||||
) -> impl IntoView {
|
||||
view! { <button on:click=on_click>"Toggle Right"</button> }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue