freemium-survey-components 1.0.0 → 1.0.2

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 CHANGED
@@ -20,10 +20,11 @@ Make sure you have the below installed in your app.
20
20
  - Survey : SurveyProps
21
21
  - WebInAppSurvey : WebInAppSurveyProps
22
22
  - Range : RangeProps
23
+ - ChannelPreview : ChannelPreviewProps
23
24
 
24
25
  ### Types
25
26
  ```
26
- type SurveyProps {
27
+ type SurveyProps = {
27
28
  survey: SurveyType
28
29
  answers: SurveyResponseType | null
29
30
  surveyStyle?: 'standard' | 'card'
@@ -50,6 +51,9 @@ type SurveyProps {
50
51
  }
51
52
  ```
52
53
  ```
54
+ type ChannelPreviewProps = SurveyProps & { channel: 'whatsapp' | 'instagram' }
55
+ ```
56
+ ```
53
57
  type WidgetProps = {
54
58
  survey: SurveyType
55
59
  answers: SurveyResponseType | null