From ee0bd79b8fff2bd22de62dad9010e18a01956214 Mon Sep 17 00:00:00 2001 From: Ninjas Code - 4 Date: Fri, 10 Mar 2023 17:06:57 +0500 Subject: [PATCH] Nested patching --- ...ar-rating++react-native-button+2.4.0.patch | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Customer App/patches/react-native-star-rating++react-native-button+2.4.0.patch diff --git a/Customer App/patches/react-native-star-rating++react-native-button+2.4.0.patch b/Customer App/patches/react-native-star-rating++react-native-button+2.4.0.patch new file mode 100644 index 0000000..7229158 --- /dev/null +++ b/Customer App/patches/react-native-star-rating++react-native-button+2.4.0.patch @@ -0,0 +1,34 @@ +diff --git a/node_modules/react-native-star-rating/node_modules/react-native-button/Button.js b/node_modules/react-native-star-rating/node_modules/react-native-button/Button.js +index fb7cf46..8e4c522 100644 +--- a/node_modules/react-native-star-rating/node_modules/react-native-button/Button.js ++++ b/node_modules/react-native-star-rating/node_modules/react-native-button/Button.js +@@ -1,11 +1,12 @@ + import PropTypes from 'prop-types'; + import React, { Component } from 'react'; ++import {TextPropTypes,ViewPropTypes} from 'deprecated-react-native-prop-types' + import { + StyleSheet, + Text, + TouchableOpacity, + View, +- ViewPropTypes, ++ //ViewPropTypes, + } from 'react-native'; + + import coalesceNonElementChildren from './coalesceNonElementChildren'; +@@ -16,12 +17,12 @@ export default class Button extends Component { + static propTypes = { + ...TouchableOpacity.propTypes, + accessibilityLabel: PropTypes.string, +- allowFontScaling: Text.propTypes.allowFontScaling, ++ allowFontScaling: TextPropTypes.allowFontScaling, + containerStyle: ViewPropTypes.style, + disabledContainerStyle: ViewPropTypes.style, + disabled: PropTypes.bool, +- style: Text.propTypes.style, +- styleDisabled: Text.propTypes.style, ++ style: TextPropTypes.style, ++ styleDisabled: TextPropTypes.style, + childGroupStyle: ViewPropTypes.style, + }; +