3. QuadrataKyb Package
<QuadrataKyb /> Component
<QuadrataKyb /> Component
<QuadrataKyb />
Props
<QuadrataKyb />
PropsProp | Description | Type |
---|---|---|
| JWT access token. See "API Authentication" page |
|
| Overrides the default loader component inside of the form markup. This component will be shown in all loading states during the flow. if not defined, a "Loading..." text will be shown instead. |
|
| The class name to be appended to the component's root DOM element. |
|
(required) | The configuration object. See the "Configuration Object" below. |
|
| Toggle between dark and light mode. Default: false |
|
| A callback function: triggered when the modal is closed. | |
| A callback function: triggered when the application reaches an end state - error or completion. Event object includes status and error properties for additional information. |
Statuses:
- |
| A callback function: triggered when a page is changed. Passes a PageKyb type string. tip: Import the |
|
Configuration Object
Pass a configuration object to the config
prop:
Always define your configuration object outside of your React components to prevent unexpected behavior
Property | Description | Type |
---|---|---|
(optional) | When true, debug information will be printed in the console. Never use in production. |
|
| Forcing a specific page to be displayed. Useful when styling and testing different pages. Set the _debug prop to |
|
| string value to set the api endpoint Possible values: |
|
| Contact email address Default: support@quadrata.com |
|
(optional) | Discord link URL Default: Quadrata Discord Server |
|
| Possible values:
Default: Never set to tip: The sandbox environment will not perform real verifications. |
|
| Your protocol name Example: "Acme, Inc." |
|
| Show or hide the social media share buttons on the "mint complete" page. Default: |
|
Last updated