Remove deprecation messages.

Summary: These modules have been deprecated for at least one release or more. By landing this diff now, they will be fully removed from 0.60 (to be released in ~April).

Reviewed By: rickhanlonii

Differential Revision: D14080869

fbshipit-source-id: cf39cc1782eec1dd09750d20b55c76f580320f4d
This commit is contained in:
Christoph Nakazawa
2019-02-14 05:33:50 -08:00
committed by Facebook Github Bot
parent a0634353f7
commit a5ae7f57f1

View File

@@ -373,29 +373,4 @@ module.exports = {
get ViewPropTypes() {
return require('DeprecatedViewPropTypes');
},
// Deprecated
get BackAndroid() {
invariant(
false,
'BackAndroid is deprecated and has been removed from this package. ' +
'Use BackHandler instead',
);
},
get Navigator() {
invariant(
false,
'Navigator is deprecated and has been removed from this package. It can now be installed ' +
'and imported from `react-native-deprecated-custom-components` instead of `react-native`. ' +
'Learn about alternative navigation solutions at http://facebook.github.io/react-native/docs/navigation.html',
);
},
get NavigatorIOS() {
invariant(
false,
'NavigatorIOS is deprecated and has been removed from this package. ' +
'Learn about alternative navigation solutions at http://facebook.github.io/react-native/docs/navigation.html',
);
},
};