Skip to content

Commit

Permalink
Merge pull request #1779 from leptos-rs/docs-show
Browse files Browse the repository at this point in the history
docs: fix `Show` docs reference to scope
  • Loading branch information
gbj authored Sep 25, 2023
2 parents 50678da + b1363a1 commit 73112c9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions leptos/src/show.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ use leptos_reactive::{create_memo, signal_prelude::*};
)]
#[component]
pub fn Show<F, W, IV>(
/// The scope the component is running in
/// The components Show wraps
/// The children will be shown whenever the condition in the `when` closure returns `true`.
children: ChildrenFn,
/// A closure that returns a bool that determines whether this thing runs
when: W,
Expand Down

0 comments on commit 73112c9

Please sign in to comment.