Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch react-native-image-transformer@1.5.1 for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-image-transformer/src/index.js b/node_modules/react-native-image-transformer/src/index.js
index fb5ee43..9455c57 100644
--- a/node_modules/react-native-image-transformer/src/index.js
+++ b/node_modules/react-native-image-transformer/src/index.js
@@ -14,8 +14,8 @@ export default class ImageTransformer extends React.Component {
}).isRequired,
index: PropTypes.number,
style: ViewPropTypes
- ? ViewPropTypes.style
- : View.propTypes.style,
+ ? ViewPropTypes?.style
+ : View?.propTypes?.style,
onLoad: PropTypes.func,
onLoadStart: PropTypes.func,
enableTransform: PropTypes.bool,
This issue body was partially generated by patch-package.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
react-native-image-transformer@1.5.1for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.