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:
Chirag Shah 2016-06-17 22:20:18 -07:00 committed by Facebook Github Bot
parent 12754839a1
commit d929f1ccef
1 changed files with 7 additions and 0 deletions

View File

@ -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.
*/