Skip to content

Commit

Permalink
Merge pull request #286 from yusukeshibata/feature/viewproptypes
Browse files Browse the repository at this point in the history
fix for removed View.propTypes
  • Loading branch information
magus committed Mar 13, 2018
2 parents ee686fb + c8fcfee commit 8333768
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/components/facebook/FBLoginMock.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ var {
Text,
Image,
View,
ViewPropTypes,
TouchableHighlight,
} = ReactNative;

var FBLoginManager = require('NativeModules').FBLoginManager;

var FBLoginMock = React.createClass({
propTypes: {
style: View.propTypes.style,
style: ViewPropTypes.style,
onPress: PropTypes.func,
onLogin: PropTypes.func,
onLogout: PropTypes.func,
Expand Down

0 comments on commit 8333768

Please sign in to comment.