RevTurbineProvider
RevTurbineProvider<
TUser>(__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.
Type Parameters
Section titled “Type Parameters”TUser extends RevTurbineUserContext = RevTurbineUserContext
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”RevTurbineProviderProps<TUser>
Returns
Section titled “Returns”any
Example
Section titled “Example”<RevTurbineProvider options={{ tenantId: 'abc', apiKey: 'key', endpoint: '/api', mode: 'react', user: { id: 'user_123' } }}> <App /></RevTurbineProvider>