@ornikar/kitt-universal 16.1.4 → 16.3.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.
@@ -8428,7 +8428,9 @@ function Picker(_ref) {
8428
8428
  itemToString = _ref.itemToString,
8429
8429
  checkSelectedItem = _ref.checkSelectedItem,
8430
8430
  onChange = _ref.onChange,
8431
- onClose = _ref.onClose;
8431
+ onClose = _ref.onClose,
8432
+ _ref$shouldDisplayNat = _ref.shouldDisplayNativePickerOnIOS,
8433
+ shouldDisplayNativePickerOnIOS = _ref$shouldDisplayNat === void 0 ? true : _ref$shouldDisplayNat;
8432
8434
  var _useReducer = useReducer(nativePickerReducer, {
8433
8435
  isOpen: isInitialOpen,
8434
8436
  currentValue: initialValue,
@@ -8495,7 +8497,7 @@ function Picker(_ref) {
8495
8497
  variant: "bold",
8496
8498
  children: title
8497
8499
  })
8498
- }), Platform.OS === 'ios' ? /*#__PURE__*/jsx(Picker$1, {
8500
+ }), Platform.OS === 'ios' && shouldDisplayNativePickerOnIOS ? /*#__PURE__*/jsx(Picker$1, {
8499
8501
  testID: testID,
8500
8502
  selectedValue: state.internalValue,
8501
8503
  itemStyle: iosItemStyle,