From 1e809932ff503322ede9d50c2c3e78dae182c774 Mon Sep 17 00:00:00 2001 From: BettyJJ <245282+BettyJJ@users.noreply.github.com> Date: Tue, 2 Jul 2019 23:38:00 +0800 Subject: [PATCH] chore(types): Update Reference.md (#687) added doc for the `textZoom` property --- docs/Reference.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/Reference.md b/docs/Reference.md index 9f490c7..5e2f5d2 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -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: + +`` + ## Methods ### `extraNativeComponentConfig()`