@myinterview/widget-react
TypeScript icon, indicating that this package has built-in type declarations

1.1.38 • Public • Published

React-Widget

The myInterview widget for React.

For more detailed documentation with all Props, Methods and Customisation possibilities, please visit our website https://documentation.myinterview.com/docs/intro

Installation and usage

The easiest way to use react-widget is to install it from npm and build it into your app with Webpack / rollup / parcel.

react-widget compatible with react version react@16.x.x, react@17.x.x, react@18.x.x!

yarn add @myinterview/widget-react

# or use npm

npm install @myinterview/widget-react

Then use it in your app:

import React from 'react';
import { Widget } from '@myinterview/widget-react';

const App = () => {
    const onFinish = () => {
        //...
    }
    const onError = () => {
        // ...
    }
    return (
        // ...
        <Widget
            job={{ job_id: "xxxxxxxxxxxxxxxxxx" }}
            candidate={{ email: "test@mail.com", username: "Max" }}
            config={{ onFinish, onError,
                auth: "apikey xxxxxxxxxxxxxxxxx sig=xxxxxxxxxxxxxxxxxxxxxxxxxx" }}
        />
    )
}

Documentation

For more detailed documentation with all Props, Methods and Customisation possibilities, please visit our website https://documentation.myinterview.com/docs/intro

License

MIT Licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i @myinterview/widget-react

Weekly Downloads

753

Version

1.1.38

License

none

Unpacked Size

14.5 MB

Total Files

233

Last publish

Collaborators

  • myinterview-dev
  • georgetravin
  • bennyded
  • dor_ben_itzhak
  • mtht7
  • michaelmyint
  • dvd1190