Skip to content

RevTurbineProvider

RevTurbineProvider<TUser, TOptions>(__namedParameters): any

React context provider for the RevTurbine SDK.

Wraps your application to provide SDK access to all child components. Handles initialization, user identification, and optional placement bootstrap.

TUser extends RevTurbineUserContext = RevTurbineUserContext

TOptions extends RevTurbineInitInputOptions = RevTurbineInitInputOptions

RevTurbineProviderProps<TUser, TOptions>

any

React
<RevTurbineProvider
options={{ tenantId: 'abc', publicKey: 'rtk_…', endpoint: '/api', mode: 'react', user: { id: 'user_123' } }}
>
<App />
</RevTurbineProvider>