Skip to content

Kvalifika/kvalifika-react

Repository files navigation

kvalifika-react

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install kvalifika-react

yarn add kvalifika-react

Usage

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,
      }}
    />
  )
}

License

MIT © Kvalifika

About

Kvalifika React.js component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published