diff --git a/react-native-harmony/Libraries/DeprecatedPropTypes/DeprecatedViewStylePropTypes.js b/react-native-harmony/Libraries/DeprecatedPropTypes/DeprecatedViewStylePropTypes.js new file mode 100644 index 0000000000000000000000000000000000000000..ff8b4c56321a3362fc00224b01800f62466f9a1f --- /dev/null +++ b/react-native-harmony/Libraries/DeprecatedPropTypes/DeprecatedViewStylePropTypes.js @@ -0,0 +1 @@ +export default {}; diff --git a/react-native-harmony/index.js b/react-native-harmony/index.js index df4392e7077ff06139b1ecb8bda1fd04661a9415..a454ed94a56f0149fad557547b773b46a855ad4c 100644 --- a/react-native-harmony/index.js +++ b/react-native-harmony/index.js @@ -223,9 +223,9 @@ module.exports = { get PermissionsAndroid() { return require('react-native/Libraries/PermissionsAndroid/PermissionsAndroid'); }, - get DeviceEventEmitter() { - return require('./Libraries/partner/DeviceEventEmitter/RCTDeviceEventEmitter').default; - }, + // get DeviceEventEmitter() { + // return require('./Libraries/partner/DeviceEventEmitter/RCTDeviceEventEmitter').default; + // }, get TouchableOpacity() { return require('./Libraries/partner/Touchable/TouchableOpacity'); }, diff --git a/react-native-harmony/metro.config.js b/react-native-harmony/metro.config.js index 55c45fe8440152bd4d8c4f7561af8b7a7c790873..072719dd987842741d45451fa8c2a28386af9494 100644 --- a/react-native-harmony/metro.config.js +++ b/react-native-harmony/metro.config.js @@ -12,7 +12,8 @@ const colors = require('colors/safe'); const partenrFile = [ 'ScrollResponder', 'DeprecatedStyleSheetPropType', - 'DeprecatedViewPropTypes' + 'DeprecatedViewPropTypes', + 'DeprecatedViewStylePropTypes' ] const endsWithAny = (str, suffixes) => suffixes.some(suffix => str.endsWith(suffix)); let shouldPrintInfoAboutRNRedirection = true;