leadsoft-leadtrust-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.5.4 • Public • Published

LeadSoft LeadTrust Plugin

Installation

npm i leadsoft-leadtrust-plugin

or

yarn add leadsoft-leadtrust-plugin

Usage

Import the LeadTrustPlugin component where you want:

import { LeadTrustPlugin } from 'leadsoft-leadtrust-plugin';

Example usage with Google Recaptcha

  <LeadTrustPlugin
    cpf="11111111111"
    siteKey="your_siteKey"
  >

Example usage with Authorization Token and custom api url

  <LeadTrustPlugin
    cpf="11111111111"
    token="your_authorization_token"
    url="http://your-api"
  >

Example usage with customization parameters

  <LeadTrustPlugin
    cpf="11111111111"
    siteKey="your_siteKey"
    size="M"
    thermometerType="CircularDisplay"
  >

Example usage with all verification parameters

  <LeadTrustPlugin
    cpf="11111111111"
    birthDate="2023-04-25T12:00:00.000Z"
    name="person_full_name"
    forceUpdate={true}
    fromFederalReceipt={true}
    checkUnderAge={true}
    siteKey="your_siteKey"
  >

Readme

Keywords

none

Package Sidebar

Install

npm i leadsoft-leadtrust-plugin

Weekly Downloads

1

Version

0.5.4

License

MIT

Unpacked Size

538 kB

Total Files

99

Last publish

Collaborators

  • fredericoleadsoft
  • leadsoftsolucoesweb