Compose propTypes from View.propTypes where appropriate.

Reviewed By: davidaurelio

Differential Revision: D2668380

fb-gh-sync-id: f34fc8df3bbf755c710e99c5421762406afaba2c
This commit is contained in:
Krzysztof Magiera
2015-11-18 11:34:05 -08:00
committed by facebook-github-bot-8
parent 530ee3eeac
commit dd09c88571
13 changed files with 17 additions and 0 deletions

View File

@@ -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