@propellerads/kyc-form
TypeScript icon, indicating that this package has built-in type declarations

3.7.0 • Public • Published

KycForm

KycForm.

size

NPM | Github

Installation

  • yarn add @propellerads/kyc-form or npm install @propellerads/kyc-form -S

How to use

  • import KycForm from '@propellerads/kyc-form';
  • And render
<KycForm
    elementId="kyc-form-component"
    title="PropellerAds is integrating KYC systems into the business processes. To continue working we kindly ask you to provide the following documents:"
    uploadButtonLabel="Send documents"
    uploaderLabels={{
        title: 'Drag the file here or',
        action: 'upload from your computer',
        oversizeError: 'File is too big',
    }}
    documentsLabels={
        [DOCUMENT_TYPES.CARD]: {
            title: 'Photo of the account owner’s ID card.',
            description: '(Passport/driver’s license/aadhar card etc.)',
        }
    }
    documents={[{
        type: DOCUMENT_TYPES.ID,
        parts:[{
            type: PART_TYPES.ID_FRONT,
        }, {
            type: PART_TYPES.ID_BACK,
        }],
    }]}
    onUploadClick={console.log}
/>

/@propellerads/kyc-form/

    Package Sidebar

    Install

    npm i @propellerads/kyc-form

    Weekly Downloads

    279

    Version

    3.7.0

    License

    MIT

    Unpacked Size

    265 kB

    Total Files

    30

    Last publish

    Collaborators

    • ilyapasyuk
    • noc_propellerads
    • sergeyshevelev
    • r.khizhenkov
    • aliance
    • d.borisevichus
    • s.lemnev
    • p.zasypkin