Get Started Component
The GetStarted component is a part of the Quest Labs React SDK. It provides a quick start guide for users to explore and engage with Application.
Last updated
The GetStarted component is a part of the Quest Labs React SDK. It provides a quick start guide for users to explore and engage with Application.
Last updated
To unlock early access to the component Get Access
To use the GetStarted
component, you need to install the Quest Labs React SDK:
Open your terminal/command prompt.
Navigate to your project's root directory using the cd
command if you're not already there.
Run the following command to install the quest-sdk
package using npm:
This command will download and install the package and its dependencies into your project.
Make sure your project has npm and Node.js installed, and that you have the necessary permissions to install packages in your project directory.
The GetStarted
component accepts the following props:
Prop Name | Type | Required | Details |
---|---|---|---|
userId | string | required | User ID for authentication. |
token | string | required | Authentication token. |
questId | string | required | ID of the Quest. |
onCompleteAllStatus | function | optional | Callback function for handling completion status. |
iconUrls | array of strings | required | Array of strings representing icon of urls. |
uniqueUserId | string | optional | Unique user identifier. |
uniqueEmailId | string | optional | Unique email identifier. |
headingText | string | optional | Text for heading. |
descriptionText | string | optional | Text for description. |
autoHide | boolean | optional | Boolean to control auto hide behavior. |
showProgressBar | boolean | optional | Boolean to control progress bar display. |
arrowColor | string | optional | Color for arrows. |
showLoadingIndicator | boolean | optional | Boolean to control loading indicator display. |
showAnnouncement | boolean | optional | Boolean to control announcement display. |
allowMultiClick | boolean | optional | Boolean to allow multi-click. |
questIconColor | string | optional | Color for quest icons. |
showFooter | boolean | optional | Helps remove or add footer in component. |
onLinkTrigger | function | optional | Callback function for handling link triggers. |
template | number | optional | Template types : 1 or 2. |
ButtunType | string | optional | ButtonType: Arrow or Button |
onLoad | function | optional | Runs after page loads |
variation | string | optional | used to create different-2 variations |
isImageOpen | boolean | optional | Boolean to control image |
styleConfig | object | optional | An object containing CSS properties for styling various components within the get started process, including form, topbar, headings, descriptions, and buttons. |
You can customize the UI with the type of styleConfig would be
Import the GetStarted
component in your React application:
Feel free to customize this documentation template based on the specific details of your GetStarted
component and the expectations of your users.