In this section, you'll find the complete documentation for the components exposed in
@knocklabs/react-native, including the props available.
Note: You can see a reference for the methods available for the
Knock class, as well as a
Feed instance under the client JS docs.
The top-level provider that connects to Knock with the given API key and authenticates a user.
The feed-specific provider that connects to a feed for that user. Must be a child of the
KnockProvider exposes a
useKnock hook for all child components.
Knock, an instance of the Knock JS client.
KnockFeedProvider exposes a
useKnockFeed hook for all child components.
Creates an authenticated Knock client.
Knock instance, authenticated against the user
Feed instance for the provided
Knock client which creates a stateful, real-time connection to Knock to build in-app experiences.
KnockI18nProvider child components.
Used to set translations available in the child components exposed under
KnockSlackProvider. Used in the
locale must be a valid locale code.