Skip to content

Commit 8e86b3f

Browse files
committed
Changed View.propTypes.style to ViewPropTypes.style as outdated and breaking android app in production
1 parent 8f178e5 commit 8e86b3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import React, {Component} from 'react';
44
import {PropTypes} from 'prop-types';
55
import {
6-
View,
6+
ViewPropTypes,
77
WebView,
88
StyleSheet,
99
} from 'react-native';
@@ -18,7 +18,7 @@ class SignaturePad extends Component {
1818
static propTypes = {
1919
onChange: PropTypes.func,
2020
onError: PropTypes.func,
21-
style: View.propTypes.style,
21+
style: ViewPropTypes.style,
2222
penColor: PropTypes.string,
2323
dataURL: PropTypes.string,
2424
height: PropTypes.number,

0 commit comments

Comments
 (0)