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"
>