[react_native] JS files from D2017699: Expose JavaScriptEnabled property for WebView component on android.

This commit is contained in:
Krzysztof Magiera
2015-04-24 11:58:31 -07:00
parent 1f98c843b0
commit 46db1826c5
3 changed files with 8 additions and 0 deletions

View File

@@ -92,6 +92,10 @@ var WebView = React.createClass({
onNavigationStateChange: PropTypes.func,
startInLoadingState: PropTypes.bool, // force WebView to show loadingView on first load
style: View.propTypes.style,
/**
* Used for android only, JS is enabled by default for WebView on iOS
*/
javaScriptEnabledAndroid: PropTypes.bool,
},
getInitialState: function() {