@dropi/react-native-design-system 0.3.13 → 0.3.15

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.
@@ -12,6 +12,7 @@ var _atoms = require("../../atoms");
12
12
  var _constants = require("../../constants");
13
13
  var _RadioButtons = require("../RadioButtons");
14
14
  var _expoImage = require("expo-image");
15
+ var _reactNativeGestureHandler = require("react-native-gesture-handler");
15
16
  var _jsxRuntime = require("react/jsx-runtime");
16
17
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
18
  const Select = ({
@@ -110,7 +111,7 @@ const Select = ({
110
111
  }, disabled && styles.disabled],
111
112
  onPress: handleOpen,
112
113
  activeOpacity: 0.7,
113
- children: [currentValue?.value && /*#__PURE__*/(0, _jsxRuntime.jsx)(_expoImage.Image, {
114
+ children: [currentValue?.image && /*#__PURE__*/(0, _jsxRuntime.jsx)(_expoImage.Image, {
114
115
  style: styles.image,
115
116
  source: currentValue.image,
116
117
  contentFit: "contain"
@@ -159,7 +160,7 @@ const Select = ({
159
160
  snapPoints: ["90%"],
160
161
  onDismiss: handleDismiss,
161
162
  footer: footer,
162
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.FlatList, {
163
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeGestureHandler.FlatList, {
163
164
  data: options,
164
165
  keyExtractor: item => String(item.value),
165
166
  renderItem: renderOption,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropi/react-native-design-system",
3
- "version": "0.3.13",
3
+ "version": "0.3.15",
4
4
  "description": "A React Native package built from scratch",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",