Update ToolTip.ios.js
This commit is contained in:
parent
13c6b86560
commit
6c6b4f64ca
@ -60,13 +60,13 @@ export default class ToolTip extends PureComponent {
|
||||
getTouchableHighlightProps = () => {
|
||||
const props = {};
|
||||
|
||||
Object.keys(TouchableHighlight.propTypes).forEach((key) => props[key] = this.props[key]);
|
||||
// Object.keys(TouchableHighlight.propTypes).forEach((key) => props[key] = this.props[key]);
|
||||
|
||||
if (this.props.longPress) {
|
||||
props.onLongPress = this.showMenu;
|
||||
} else {
|
||||
props.onPress = this.showMenu;
|
||||
}
|
||||
// if (this.props.longPress) {
|
||||
// props.onLongPress = this.showMenu;
|
||||
// } else {
|
||||
// props.onPress = this.showMenu;
|
||||
// }
|
||||
|
||||
return props;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user