@codeleap/mobile 2.0.0 → 2.0.1

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": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "main": "src/index.ts",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -117,12 +117,12 @@ export const Touchable: React.FC<TouchableProps> = forwardRef<
117
117
  const Wrapper = View
118
118
 
119
119
  return (
120
- <Wrapper style={[_styles, rippleStyles]}>
120
+ <Wrapper style={[_styles, hasRipple && rippleStyles]}>
121
121
  <Pressable onPress={press} style={({ pressed }) => ([
122
122
  getFeedbackStyle(pressed),
123
123
  variantStyles.pressable,
124
124
  _styles,
125
- defaultPressableStyles,
125
+ hasRipple && defaultPressableStyles,
126
126
  ])} android_ripple={rippleConfig} {...props} ref={ref}>
127
127
  {children}
128
128
  </Pressable>