From 94229b420daa4c9bbd133a6176fa0f6e5db3f1e2 Mon Sep 17 00:00:00 2001 From: spotogianmatteo Date: Wed, 22 Feb 2017 17:49:00 +0100 Subject: [PATCH 1/2] add container style --- webview-bridge/index.android.js | 2 +- webview-bridge/index.ios.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/webview-bridge/index.android.js b/webview-bridge/index.android.js index bdfe8180..ae2c0305 100644 --- a/webview-bridge/index.android.js +++ b/webview-bridge/index.android.js @@ -131,7 +131,7 @@ var WebViewBridge = React.createClass({ />; return ( - + {webView} {otherView} diff --git a/webview-bridge/index.ios.js b/webview-bridge/index.ios.js index b47dc338..9857a5cc 100644 --- a/webview-bridge/index.ios.js +++ b/webview-bridge/index.ios.js @@ -107,6 +107,8 @@ var WebViewBridge = React.createClass({ hideKeyboardAccessoryView: PropTypes.bool, keyboardDisplayRequiresUserAction: PropTypes.bool, + + containerStyle: PropTypes.object }, getInitialState: function() { @@ -197,7 +199,7 @@ var WebViewBridge = React.createClass({ />; return ( - + {webView} {otherView} From 1db8e0dd07a433dd8a908eec73704900470114f8 Mon Sep 17 00:00:00 2001 From: spotogianmatteo Date: Wed, 22 Feb 2017 17:50:16 +0100 Subject: [PATCH 2/2] add default value --- webview-bridge/index.android.js | 2 +- webview-bridge/index.ios.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webview-bridge/index.android.js b/webview-bridge/index.android.js index ae2c0305..ebef3f04 100644 --- a/webview-bridge/index.android.js +++ b/webview-bridge/index.android.js @@ -131,7 +131,7 @@ var WebViewBridge = React.createClass({ />; return ( - + {webView} {otherView} diff --git a/webview-bridge/index.ios.js b/webview-bridge/index.ios.js index 9857a5cc..d9e0fd1a 100644 --- a/webview-bridge/index.ios.js +++ b/webview-bridge/index.ios.js @@ -199,7 +199,7 @@ var WebViewBridge = React.createClass({ />; return ( - + {webView} {otherView}