Skip to content

Commit 62cd927

Browse files
committed
Proxying props onto child component in Android
1 parent dab4d71 commit 62cd927

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

webview-bridge/index.android.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,19 +111,11 @@ var WebViewBridge = React.createClass({
111111
<RCTWebViewBridge
112112
ref={RCT_WEBVIEWBRIDGE_REF}
113113
key="webViewKey"
114+
{...this.props}
114115
style={webViewStyles}
115-
url={this.props.url}
116-
html={this.props.html}
117-
injectedJavaScript={this.props.injectedJavaScript}
118-
userAgent={this.props.userAgent}
119-
javaScriptEnabled={javaScriptEnabled}
120-
domStorageEnabled={domStorageEnabled}
121-
contentInset={this.props.contentInset}
122-
automaticallyAdjustContentInsets={this.props.automaticallyAdjustContentInsets}
123116
onLoadingStart={this.onLoadingStart}
124117
onLoadingFinish={this.onLoadingFinish}
125118
onLoadingError={this.onLoadingError}
126-
testID={this.props.testID}
127119
/>;
128120

129121
return (

0 commit comments

Comments
 (0)