In-App UI
React
Components
KnockFeedProvider

KnockFeedProvider

A React context provider that manages the notification feed state and provides feed-related functionality to child components.

Usage

#

Props

#
feedIdstringRequired

The channel ID of the Knock in-app feed.

colorModestring

Sets the theme as either light or dark mode (defaults to light).

defaultFeedOptionsFeedClientOptions

Default options for configuring the feed behavior.

childrenReactNode

Child components that will have access to the feed context.