ShowIfSessionModeSupported
ShowIfSessionModeSupported(
props):Element
Guard that only shows its children by toggling their visibility based on whether the user's device supports a session mode.
props
SessionModeSupportedProps
ReactNode The ReactNode elements to conditionally show.
XRSessionMode The session mode used to determine if the children will be shown.
Returns
Element