In-App UI
React
Components
KnockMsTeamsProvider
KnockMsTeamsProvider
A React context provider that manages Microsoft Teams integration state and provides Teams-related functionality to child components.
Usage#
Props#
knockMsTeamsClientIdstringRequired
The Microsoft Teams client ID for your Knock Teams integration.redirectUrlstringRequired
The URL to redirect to after Microsoft Teams authentication.childrenReactNode
Child components that will have access to the Teams context.