瀏覽代碼

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

* add style doc in reference.md

* Update Reference.md
Chi-AnTai 5 年之前
父節點
當前提交
8427a8db69
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10
    0
      docs/Reference.md

+ 10
- 0
docs/Reference.md 查看文件

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
 ### `decelerationRate`
288
 ### `decelerationRate`
279
 
289
 
280
 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:
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: