Browse Source

chore(docs): Add update style doc (#225)

* add style doc in reference.md

* Update Reference.md
Chi-AnTai 5 years ago
parent
commit
8427a8db69
1 changed files with 10 additions and 0 deletions
  1. 10
    0
      docs/Reference.md

+ 10
- 0
docs/Reference.md View File

@@ -275,6 +275,16 @@ Boolean value that forces the `WebView` to show the loading view on the first lo
275 275
 
276 276
 ---
277 277
 
278
+### `style`
279
+
280
+A style object that allow you to customize the `WebView` style. Please not that there are default styles (example: you need to add `flex: 0` to the style if you want to use `height` property).
281
+
282
+| Type  | Required |
283
+| ----- | -------- |
284
+| style | No       |
285
+
286
+---
287
+
278 288
 ### `decelerationRate`
279 289
 
280 290
 A floating-point number that determines how quickly the scroll view decelerates after the user lifts their finger. You may also use the string shortcuts `"normal"` and `"fast"` which match the underlying iOS settings for `UIScrollViewDecelerationRateNormal` and `UIScrollViewDecelerationRateFast` respectively: