Try our demo
Loading...
Find here the configuration for this demo
- React
- HTML
import { Widget } from "@myinterview/widget-react";
const WidgetComponent = () => {
    return (
    <Widget
    candidate={{
    email: 'candidate email',
    username: 'candidate username'
}}
    job={{
    title: 'This is a demo job',
    questions: [
{
    question: 'Please walk us through your resume',
    attempts: '3',
    duration: 30,
    thinkingTime: 0,
    description: 'You can write here any additional details to the candidate',
},
{
    question: 'What does a job well done mean to you?',
    attempts: '2',
    duration: 30,
    thinkingTime: 30,
    description: 'This is question with thinking time',
}
    ]
}}
    config={{
    minimizable: true,
    env: 'production',
    auth: `xxxx xxxx xxxx`
}}
    />)
}
<body>
<myinterview-widget></myinterview-widget>
<script>
        document.querySelector("myinterview-widget").widgetConfig = {
            candidate: {
                email: 'candidate email',
                username: 'candidate username'
            }
            config: {
                minimizable: true,
                env: 'production',
                auth: `xxxx xxxx xxxx`
            }
            job: {
                title: 'This is a demo job',
                questions: [
                    {
                        question: 'Please walk us through your resume',
                        attempts: '3',
                        duration: 30,
                        thinkingTime: 0,
                        description: 'description',
                    },
                    {
                        question: 'What does a job well done mean to you?',
                        attempts: '2',
                        duration: 30,
                        thinkingTime: 30,
                        description: 'This is question with thinking time',
                    }
                ]
            }
        }
</script>
</body>