kvalifika-react
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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

Dependencies (1)

Dev Dependencies (29)

Package Sidebar

Install

npm i kvalifika-react

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

61.5 kB

Total Files

8

Last publish

Collaborators

  • kvalifika