diff --git a/node_modules/react-native/index.js b/node_modules/react-native/index.js index 7149c64..5aababb 100644 --- a/node_modules/react-native/index.js +++ b/node_modules/react-native/index.js @@ -380,43 +380,43 @@ module.exports = { }, // Deprecated Prop Types get ColorPropType(): $FlowFixMe { - console.error( - 'ColorPropType will be removed from React Native, along with all ' + - 'other PropTypes. We recommend that you migrate away from PropTypes ' + - 'and switch to a type system like TypeScript. If you need to ' + - 'continue using ColorPropType, migrate to the ' + - "'deprecated-react-native-prop-types' package.", - ); + // console.error( + // 'ColorPropType will be removed from React Native, along with all ' + + // 'other PropTypes. We recommend that you migrate away from PropTypes ' + + // 'and switch to a type system like TypeScript. If you need to ' + + // 'continue using ColorPropType, migrate to the ' + + // "'deprecated-react-native-prop-types' package.", + // ); return require('deprecated-react-native-prop-types').ColorPropType; }, get EdgeInsetsPropType(): $FlowFixMe { - console.error( - 'EdgeInsetsPropType will be removed from React Native, along with all ' + - 'other PropTypes. We recommend that you migrate away from PropTypes ' + - 'and switch to a type system like TypeScript. If you need to ' + - 'continue using EdgeInsetsPropType, migrate to the ' + - "'deprecated-react-native-prop-types' package.", - ); + // console.error( + // 'EdgeInsetsPropType will be removed from React Native, along with all ' + + // 'other PropTypes. We recommend that you migrate away from PropTypes ' + + // 'and switch to a type system like TypeScript. If you need to ' + + // 'continue using EdgeInsetsPropType, migrate to the ' + + // "'deprecated-react-native-prop-types' package.", + // ); return require('deprecated-react-native-prop-types').EdgeInsetsPropType; }, get PointPropType(): $FlowFixMe { - console.error( - 'PointPropType will be removed from React Native, along with all ' + - 'other PropTypes. We recommend that you migrate away from PropTypes ' + - 'and switch to a type system like TypeScript. If you need to ' + - 'continue using PointPropType, migrate to the ' + - "'deprecated-react-native-prop-types' package.", - ); + // console.error( + // 'PointPropType will be removed from React Native, along with all ' + + // 'other PropTypes. We recommend that you migrate away from PropTypes ' + + // 'and switch to a type system like TypeScript. If you need to ' + + // 'continue using PointPropType, migrate to the ' + + // "'deprecated-react-native-prop-types' package.", + // ); return require('deprecated-react-native-prop-types').PointPropType; }, get ViewPropTypes(): $FlowFixMe { - console.error( - 'ViewPropTypes will be removed from React Native, along with all ' + - 'other PropTypes. We recommend that you migrate away from PropTypes ' + - 'and switch to a type system like TypeScript. If you need to ' + - 'continue using ViewPropTypes, migrate to the ' + - "'deprecated-react-native-prop-types' package.", - ); + // console.error( + // 'ViewPropTypes will be removed from React Native, along with all ' + + // 'other PropTypes. We recommend that you migrate away from PropTypes ' + + // 'and switch to a type system like TypeScript. If you need to ' + + // 'continue using ViewPropTypes, migrate to the ' + + // "'deprecated-react-native-prop-types' package.", + // ); return require('deprecated-react-native-prop-types').ViewPropTypes; }, };