fix: don't enable overlay on iOS by default

This commit is contained in:
satyajit.happy
2019-06-18 23:59:58 +02:00
parent cb5054750c
commit 27f0ec4234

View File

@@ -6,6 +6,7 @@ import {
ViewProps,
StyleProp,
ViewStyle,
Platform,
} from 'react-native';
import Animated from 'react-native-reanimated';
import {
@@ -94,7 +95,7 @@ const {
export default class Card extends React.Component<Props> {
static defaultProps = {
overlayEnabled: true,
overlayEnabled: Platform.OS !== 'ios',
shadowEnabled: true,
gesturesEnabled: true,
};