zimple_terms_and_conditions
v1.0.9
Published
Wrapper for terms and conditions
Downloads
1
Readme
Zimple terms and conditions
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