In-App UI
React
Components
KnockSlackProvider

KnockSlackProvider

A React context provider that manages Slack integration state and provides Slack-related functionality to child components.

Usage

#

Props

#
knockSlackClientIdstringRequired
The Slack client ID for your Knock Slack integration.
redirectUrlstringRequired
The URL to redirect to after Slack authentication.
childrenReactNode
Child components that will have access to the Slack context.