Skip to main content

useStreamLayerUI

A React hook that provides access to the StreamLayer UI context.

Boolean flags for the UI components. These flags can be used to control the visibility of the UI components.

promotionExternalAd?: boolean
promotionSidebar?: boolean
promotionOverlay?: boolean
promotionNotification?: boolean
promotionBanner?: boolean
app?: boolean
appNotification?: boolean
onboardingNotification?: boolean
import { useStreamLayerUI } from '@streamlayer/react'