Skip to content

Commit

Permalink
[RippleFeedback] Use TouchableOpacity for iOS (xotahal#41) (xotahal#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
travishaagen authored and xotahal committed Dec 23, 2016
1 parent decb49a commit c37d6aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/RippleFeedback/RippleFeedback.react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable import/no-unresolved, import/extensions */
import React, { PureComponent, PropTypes } from 'react';
import { Platform, TouchableNativeFeedback, TouchableWithoutFeedback } from 'react-native';
import { Platform, TouchableNativeFeedback, TouchableOpacity } from 'react-native';
/* eslint-enable import/no-unresolved, import/extensions */

const propTypes = {
Expand Down Expand Up @@ -30,9 +30,9 @@ class RippleFeedback extends PureComponent {

if (!isCompatible()) {
return (
<TouchableWithoutFeedback {...otherProps}>
<TouchableOpacity {...otherProps}>
{children}
</TouchableWithoutFeedback>
</TouchableOpacity>
);
}

Expand Down

0 comments on commit c37d6aa

Please sign in to comment.