Browse Source

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

added doc for the `textZoom` property
BettyJJ 5 years ago
parent
commit
1e809932ff
1 changed files with 17 additions and 0 deletions
  1. 17
    0
      docs/Reference.md

+ 17
- 0
docs/Reference.md View File

54
 - [`pagingEnabled`](Reference.md#pagingEnabled)
54
 - [`pagingEnabled`](Reference.md#pagingEnabled)
55
 - [`allowsLinkPreview`](Reference.md#allowsLinkPreview)
55
 - [`allowsLinkPreview`](Reference.md#allowsLinkPreview)
56
 - [`sharedCookiesEnabled`](Reference.md#sharedCookiesEnabled)
56
 - [`sharedCookiesEnabled`](Reference.md#sharedCookiesEnabled)
57
+- [`textZoom`](Reference.md#textZoom)
57
 
58
 
58
 ## Methods Index
59
 ## Methods Index
59
 
60
 
894
 | ------- | -------- | -------- |
895
 | ------- | -------- | -------- |
895
 | boolean | No       | iOS      |
896
 | boolean | No       | iOS      |
896
 
897
 
898
+---
899
+
900
+### `textZoom`
901
+
902
+If the user has set a custom font size in the Android system, an undesirable scale of the site interface in WebView occurs.
903
+
904
+When setting the standard textZoom (100) parameter size, this undesirable effect disappears.
905
+
906
+| Type   | Required | Platform |
907
+| ------ | -------- | -------- |
908
+| number | No       | Android  |
909
+
910
+Example:
911
+
912
+`<WebView textZoom={100} />`
913
+
897
 ## Methods
914
 ## Methods
898
 
915
 
899
 ### `extraNativeComponentConfig()`
916
 ### `extraNativeComponentConfig()`