@apexcura/ui-components 0.0.8-Beta3 → 0.0.8-Beta5

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/dist/index.js CHANGED
@@ -313,7 +313,7 @@ var SingleSelectElement = (props) => {
313
313
  onChange: handleChange,
314
314
  onSearch,
315
315
  filterOption,
316
- options: []
316
+ options: props.options.map((eachOption) => ({ label: String(eachOption.title), value: String(eachOption.title) }))
317
317
  }
318
318
  );
319
319
  };
package/dist/index.mjs CHANGED
@@ -267,7 +267,7 @@ var SingleSelectElement = (props) => {
267
267
  onChange: handleChange,
268
268
  onSearch,
269
269
  filterOption,
270
- options: []
270
+ options: props.options.map((eachOption) => ({ label: String(eachOption.title), value: String(eachOption.title) }))
271
271
  }
272
272
  );
273
273
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.8-Beta3",
3
+ "version": "0.0.8-Beta5",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",