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