Skip to content

Commit

Permalink
chore: replace PureNativeButton with TouchableWithoutFeedback
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Mar 29, 2020
1 parent 2bfd975 commit ab83e59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/item/AnimatedTabBarItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { View } from 'react-native';
import Animated, { Easing } from 'react-native-reanimated';
import {
// @ts-ignore
PureNativeButton,
TouchableWithoutFeedback,
State,
createNativeWrapper,
} from 'react-native-gesture-handler';
Expand All @@ -17,7 +17,7 @@ import { TabConfig } from '../types';
import { styles } from './styles';

const AnimatedRawButton = createNativeWrapper(
Animated.createAnimatedComponent(PureNativeButton),
Animated.createAnimatedComponent(TouchableWithoutFeedback),
{
shouldCancelWhenOutside: false,
shouldActivateOnStart: false,
Expand Down

0 comments on commit ab83e59

Please sign in to comment.