diff --git a/Libraries/Components/WebView/WebView.android.js b/Libraries/Components/WebView/WebView.android.js index 274d76728..7975653a3 100644 --- a/Libraries/Components/WebView/WebView.android.js +++ b/Libraries/Components/WebView/WebView.android.js @@ -31,6 +31,10 @@ var WebViewState = keyMirror({ ERROR: null, }); +/** + * Note that WebView is only supported on iOS for now, + * see https://facebook.github.io/react-native/docs/known-issues.html + */ var WebView = React.createClass({ propTypes: { diff --git a/Libraries/Components/WebView/WebView.ios.js b/Libraries/Components/WebView/WebView.ios.js index a3d457bfd..6c7f5484d 100644 --- a/Libraries/Components/WebView/WebView.ios.js +++ b/Libraries/Components/WebView/WebView.ios.js @@ -75,6 +75,12 @@ var defaultRenderError = (errorDomain, errorCode, errorDesc) => ( ); +/** + * Renders a native WebView. + * + * Note that WebView is only supported on iOS for now, + * see https://facebook.github.io/react-native/docs/known-issues.html + */ var WebView = React.createClass({ statics: { JSNavigationScheme: JSNavigationScheme,