Skip to main content

Step 1: Set Up Component Structure

Create a class component with a container ref for mounting Rollout components:

Step 2: Initialize Rollout Components

Add the initialization logic in componentDidMount:
Now you should a UI component rendered that looks similar to the following:

Step 3 (Optional): Handle Credential Events

Add credential event handling by implementing a handler method and passing it to the component: