Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch react-native-balloon@1.0.0 for the project I'm working on.
It failed due to deprecated ViewPropTypes
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-balloon/src/Balloon.js b/node_modules/react-native-balloon/src/Balloon.js
index f2fbf56..7d9c744 100644
--- a/node_modules/react-native-balloon/src/Balloon.js
+++ b/node_modules/react-native-balloon/src/Balloon.js
@@ -1,9 +1,9 @@
-import PropTypes from "prop-types";
+import PropTypes from 'prop-types';
+import { ViewPropTypes } from "deprecated-react-native-prop-types";
import React, { Component } from "react";
import {
View,
StyleSheet,
- ViewPropTypes,
TouchableOpacity
} from "react-native";
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-balloon@1.0.0for the project I'm working on.It failed due to deprecated ViewPropTypes
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.