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

    3.0.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}
    />
    

    Keywords

    none

    Install

    npm i @propellerads/kyc-form

    DownloadsWeekly Downloads

    218

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    386 kB

    Total Files

    30

    Last publish

    Collaborators

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