@bigbinary/neeto-form-frontend 1.0.24 → 1.0.26

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
@@ -119,6 +119,37 @@ import { Submission } from "@bigbinary/neeto-form-frontend";
119
119
  | `questionLabelProps` | `object` | To override props for question label |
120
120
  | `answerProps` | `object` | To override props for answer text |
121
121
 
122
+ `Fields` component provides access to all the components used in building forms.
123
+
124
+ ```js
125
+ import { Fields } from "@bigbinary/neeto-form-frontend";
126
+
127
+ const {
128
+ Email,
129
+ Dropdown,
130
+ ShortText,
131
+ LongText,
132
+ MultipleChoice,
133
+ SingleChoice,
134
+ Phone,
135
+ Rating,
136
+ Terms,
137
+ StarRating,
138
+ } = Fields;
139
+ ```
140
+
141
+ Following components are currently available:
142
+ - `Email`
143
+ - `Dropdown`
144
+ - `ShortText`
145
+ - `LongText`
146
+ - `MultipleChoice`
147
+ - `SingleChoice`
148
+ - `Phone`
149
+ - `Rating`
150
+ - `Terms`
151
+ - `StarRating`
152
+
122
153
  ## Hooks
123
154
 
124
155
  `useBuildFormState` hook is used to get the form state.