File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 77 TouchableWithoutFeedbackProps ,
88} from 'react-native' ;
99
10- // This TouchableOpacity has the same staic method of TouchableNativeFeedback
10+ // This TouchableOpacity has the same static method of TouchableNativeFeedback
1111class CustomTouchableOpacity extends React . Component {
1212 static SelectableBackground = ( ) => ( { } ) ;
1313 static SelectableBackgroundBorderless = ( ) => ( { } ) ;
@@ -19,8 +19,8 @@ class CustomTouchableOpacity extends React.Component {
1919}
2020
2121const TouchableComponent = Platform . select ( {
22- web : CustomTouchableOpacity ,
23- default : Platform . Version <= 20 ? CustomTouchableOpacity : TouchableNativeFeedback ,
22+ default : CustomTouchableOpacity ,
23+ android : Platform . Version <= 20 ? CustomTouchableOpacity : TouchableNativeFeedback ,
2424} ) ;
2525
2626type Props = TouchableWithoutFeedbackProps & {
You can’t perform that action at this time.
0 commit comments