Made with create-react-library
npm install kvalifika-react
yarn add kvalifika-react
import React from 'react'
import { Kvalifika } from 'kvalifika-react'
const App = () => {
return (
<Kvalifika
appId='appId'
domain='domain'
environment='environment'
// options are optional, by default company settings will be used
options={{
livenessType: 0 || 1,
successCallbackUrl: 'successCallbackUrl',
errorCallbackUrl: 'errorCallbackUrl',
lang: 'ge' || 'en' || 'ru' || 'sp',
documentCaptureType: 1 || 2 || 3 || 4,
isIdCardSelected: true || false,
isPassportSelected: true || false,
isResidenceCardSelected: true || false,
isDriverLicenseSelected: true || false,
sessionFlow: 0 || 1,
isFirstPageShown: true || false,
maxSessionLength: 'max length is not limited',
popup: 0 || 1,
}}
/>
)
}
MIT © Kvalifika