ShowIfSessionVisible
ShowIfSessionVisible(
props
):Element
Guard that only shows its children by toggling their visibility based on whether the current session is visible or not. Typically used to hide/show content when operating system overlays are showing
props
SessionVisibleProps
children?
ReactNode
The ReactNode elements to conditionally show.
Returns
Element