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

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.
@@ -110,7 +110,7 @@ const Select = ({
110
110
  }, disabled && styles.disabled],
111
111
  onPress: handleOpen,
112
112
  activeOpacity: 0.7,
113
- children: [currentValue?.image && /*#__PURE__*/(0, _jsxRuntime.jsx)(_expoImage.Image, {
113
+ children: [currentValue?.value && /*#__PURE__*/(0, _jsxRuntime.jsx)(_expoImage.Image, {
114
114
  style: styles.image,
115
115
  source: currentValue.image,
116
116
  contentFit: "contain"
@@ -122,7 +122,7 @@ const Select = ({
122
122
  },
123
123
  numberOfLines: 1,
124
124
  ellipsizeMode: "tail",
125
- children: currentValue?.label ?? placeholder
125
+ children: currentValue?.label || placeholder
126
126
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative2.default, {
127
127
  name: "dropdown-down",
128
128
  size: _constants.sizes.xl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropi/react-native-design-system",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "A React Native package built from scratch",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",