Added userAgent prop type in docs for webview
Summary: userAgent as a prop type is available in WebView for android but is not documented. This PR fixes it. **TestPlan** : Not required as this just adds an entry in the documentation ![webview react native a framework for building native apps using react 2016-06-18 02-14-58](https://cloud.githubusercontent.com/assets/6805530/16164289/e8908526-34fa-11e6-98fe-face38ff9f51.png) Closes https://github.com/facebook/react-native/pull/8200 Differential Revision: D3454625 fbshipit-source-id: 260087044f78a1339cf7ec8760e92cd9fbdb5111
This commit is contained in:
parent
12754839a1
commit
d929f1ccef
|
@ -212,6 +212,13 @@ var WebView = React.createClass({
|
|||
*/
|
||||
injectedJavaScript: PropTypes.string,
|
||||
|
||||
/**
|
||||
* Sets the user-agent for this WebView. The user-agent can also be set in native using
|
||||
* WebViewConfig. This prop will overwrite that config.
|
||||
* @platform android
|
||||
*/
|
||||
userAgent: PropTypes.string,
|
||||
|
||||
/**
|
||||
* Sets whether the webpage scales to fit the view and the user can change the scale.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue