Skip to content

Commit 234476e

Browse files
committed
Use prop-types module
1 parent 398bc9a commit 234476e

File tree

3 files changed

+40
-2
lines changed

3 files changed

+40
-2
lines changed

SignatureCapture.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
var ReactNative = require("react-native");
44
var React = require("react");
5-
var {PropTypes} = React;
5+
var PropTypes = require("prop-types");
66
var {requireNativeComponent, View, UIManager, DeviceEventEmitter} = ReactNative;
77

88
class SignatureCapture extends React.Component {

package-lock.json

+35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,8 @@
2424
"bugs": {
2525
"url": "https://github.com/RepairShopr/react-native-signature-capture/issues"
2626
},
27-
"homepage": "https://github.com/RepairShopr/react-native-signature-capture#readme"
27+
"homepage": "https://github.com/RepairShopr/react-native-signature-capture#readme",
28+
"dependencies": {
29+
"prop-types": "^15.6.2"
30+
}
2831
}

0 commit comments

Comments
 (0)