freemium-survey-components 0.14.7 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -5
- package/lib/index.cjs.js +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/types/survey/utils/logics.d.ts +8 -6
- package/lib/types/survey/utils/use-card-survey.d.ts +2 -2
- package/lib/types/survey/utils/utils.d.ts +3 -11
- package/lib/types/survey/widget/index.d.ts +1 -1
- package/lib/types/types.d.ts +18 -3
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -51,7 +51,6 @@ type WidgetProps = {
|
|
|
51
51
|
) => void
|
|
52
52
|
preview?: boolean
|
|
53
53
|
onDismiss: () => void
|
|
54
|
-
remindLater: () => void
|
|
55
54
|
onClose?: () => void
|
|
56
55
|
unsubscribeUrl?: string
|
|
57
56
|
isSurveyCompleted: boolean
|
|
@@ -114,10 +113,6 @@ const Widget = () => {
|
|
|
114
113
|
// when the widget is dismissed, this gets executed.
|
|
115
114
|
....
|
|
116
115
|
}}
|
|
117
|
-
remindLater={() => {
|
|
118
|
-
// when the remind later is selected on the widget, this gets executed.
|
|
119
|
-
....
|
|
120
|
-
}}
|
|
121
116
|
unsubscribeUrl={'#'}
|
|
122
117
|
isSurveyCompleted={isSurveyCompleted}
|
|
123
118
|
children={null} // if we want render with respect to the widget's fixed position
|