Procházet zdrojové kódy

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

* add style doc in reference.md

* Update Reference.md
Chi-AnTai před 5 roky
rodič
revize
8427a8db69
1 změnil soubory, kde provedl 10 přidání a 0 odebrání
  1. 10
    0
      docs/Reference.md

+ 10
- 0
docs/Reference.md Zobrazit soubor

@@ -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: