chore(types): Update Reference.md (#687)

added doc for the `textZoom` property
This commit is contained in:
BettyJJ 2019-07-02 23:38:00 +08:00 committed by Thibault Malbranche
parent 38110327ed
commit 1e809932ff

View File

@ -54,6 +54,7 @@ This document lays out the current public properties and methods for the React N
- [`pagingEnabled`](Reference.md#pagingEnabled)
- [`allowsLinkPreview`](Reference.md#allowsLinkPreview)
- [`sharedCookiesEnabled`](Reference.md#sharedCookiesEnabled)
- [`textZoom`](Reference.md#textZoom)
## Methods Index
@ -894,6 +895,22 @@ Set `true` if shared cookies from `[NSHTTPCookieStorage sharedHTTPCookieStorage]
| ------- | -------- | -------- |
| boolean | No | iOS |
---
### `textZoom`
If the user has set a custom font size in the Android system, an undesirable scale of the site interface in WebView occurs.
When setting the standard textZoom (100) parameter size, this undesirable effect disappears.
| Type | Required | Platform |
| ------ | -------- | -------- |
| number | No | Android |
Example:
`<WebView textZoom={100} />`
## Methods
### `extraNativeComponentConfig()`