mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 12:25:59 +08:00
Compose propTypes from View.propTypes where appropriate.
Reviewed By: davidaurelio Differential Revision: D2668380 fb-gh-sync-id: f34fc8df3bbf755c710e99c5421762406afaba2c
This commit is contained in:
committed by
facebook-github-bot-8
parent
530ee3eeac
commit
dd09c88571
@@ -88,6 +88,7 @@ var WebView = React.createClass({
|
||||
},
|
||||
|
||||
propTypes: {
|
||||
...View.propTypes,
|
||||
url: PropTypes.string,
|
||||
html: PropTypes.string,
|
||||
renderError: PropTypes.func, // view to show if there's an error
|
||||
|
||||
Reference in New Issue
Block a user