Tutorial/Quest List Component
A versatile UI element for managing and tracking task completion. Displays tasks, tracks progress with a progress bar, and shows checkmarks for completed tasks.
Last updated
npm install @questlabs/react-sdkimport '@questlabs/react-sdk/dist/style.css'import { QuestProvider, Tutorial } from '@questlabs/react-sdk';import { QuestProvider, Tutorial } from '@questlabs/react-sdk';
import '@questlabs/react-sdk/dist/style.css'
function App() {
return (
<QuestProvider
apiKey="your-apikey"
entityId="your-entity-Id"
apiType= "PRODUCTION" // STAGING
>
<Tutorial> </Tutorial>
</QuestProvider>
);
}
export default App;
<Tutorial
userId=""
questId=""
token=""
uniqueUserId="your-unique-user-id"
>
// children
</Tutorial> <Tutorial.Header
heading='your-heading'
subHeading='your-subHeading'
style= {{ backgroundcolor : 'white' }}
headingStyle= {{ fontSize : '20px }}
descriptionStyle= {{ fontSize : '14px' }}
/>
<Tutorial.Footer
text='your-company-name'
link='redirect-link'
style={{ background : 'white' }}
/> <QuestProvider
apiKey="your-apikey"
entityId="your-entity-Id"
apiType= "PRODUCTION" // STAGING
>
<Tutorial
userId=""
questId=""
token=""
uniqueUserId="your-unique-user-id"
>
<Tutorial.Header />
<Tutorial.Content />
<Tutorial.Footer />
</Tutorial>
</QuestProvider>import { QuestProvider, Tutorial } from '@questlabs/react-sdk';
import '@questlabs/react-sdk/dist/style.css'
function App() {
return (
<div>
<QuestProvider
apiKey="your-apikey"
entityId="your-entity-Id"
apiType= "PRODUCTION" // STAGING
>
<Tutorial
userId=""
questId=""
token=""
uniqueUserId="your-unique-user-id"
>
<Tutorial.Header />
<Tutorial.Content />
<Tutorial.Footer />
</Tutorial>
</QuestProvider>
</div>
);
}
export default App;import { QuestProvider, TutorialWrapper } from '@questlabs/react-sdk';
import '@questlabs/react-sdk/dist/style.css'
function App() {
return (
<div>
<QuestProvider
apiKey="your-apikey"
entityId="your-entity-Id"
apiType= "PRODUCTION" // STAGING
>
<TutorialWrapper
userId=""
questId=""
token=""
uniqueUserId="your-unique-user-id"
styleConfig= {{
Form: {},
Heading: {},
Description: {},
Footer: {},
TopBar: {},
}}
showFooter={false}
/>
</QuestProvider>
</div>
);
}
export default App;Headers= [{
heading: 'Your Heading'
subHeading : 'Your SubHeading'
}]styleConfig= {{
Form: {},
Heading : {},
Description : {},
Footer: {
FooterStyle: {},
FooterText: {},
FooterIcon: {}
},
TopBar: {},
}}