@codeleap/mobile 3.21.0 → 3.21.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeleap/mobile",
3
- "version": "3.21.0",
3
+ "version": "3.21.2",
4
4
  "main": "src/index.ts",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -75,7 +75,6 @@ const _Touchable = forwardRef<
75
75
  analyticsName,
76
76
  analyticsData = {},
77
77
  dismissKeyboard,
78
- disabled,
79
78
  ...props
80
79
  } = {
81
80
  ...defaultProps,
@@ -143,7 +142,7 @@ const _Touchable = forwardRef<
143
142
 
144
143
  }
145
144
 
146
- const _styles = StyleSheet.flatten([variantStyles.wrapper, disabled && variantStyles['wrapper:disabled'], style])
145
+ const _styles = StyleSheet.flatten([variantStyles.wrapper, props?.disabled && variantStyles['wrapper:disabled'], style])
147
146
 
148
147
  const disableFeedback = !onPress || noFeedback
149
148