Displays an terms and conditions page from https://termsandconditions.zimple.solutions/LANGUAGE-CODE/APP_NAME.html
Name | Type | Description |
---|---|---|
src | string | Url to termsandconditions.zimple.solutions |
onDecline | function | When user clicks disagree button |
onApprove | function | When user clicks agree button |
companyId | string | Pipedrive's company id (from user object) |
appName | enum | APP_NAMES [netvisor, vismasign] |
agreeLabel | string | Text of agree label |
declineLabel | string | Text of decline label |
apiErrorText | string | Error text when API-fails |
loadingComponent | React.ReactNode | Loading component |
useDivider | boolean | undefined | Default false. Renders hr between buttons and iframe |
isSending | boolean | When request to coldfish is loading |
If you do changes for this component remember to change version number from package.json