Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
2534290808 committed Jan 3, 2019
1 parent f7b28d4 commit 38d1fce
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ import {SmartRefreshControl,DefaultHeader} from 'react-native-smartrefreshlayout
其他组件查看[AnyHeader](./docs/AnyHeader.md)[DefaultHeader](./docs/DefaultHeader.md)[ClassicsHeader](./docs/DefaultHeader.md)[StoreHouseHeader](./docs/StoreHouse.md)
#### 查看属性
- [`HeaderComponent`](README.md#headercomponent)
- [`renderHeader`](README.md#renderHeader)
- [`enableRefresh`](README.md#enablerefresh)
- [`headerHeight`](README.md#headerHeight)
- [`primaryColor`](README.md#primarycolor)
Expand Down Expand Up @@ -99,6 +100,20 @@ import {SmartRefreshControl,DefaultHeader} from 'react-native-smartrefreshlayout

---

#### `renderHeader`

用于渲染SmartRefreshLayout组件的header,默认为DefaultHeader。

>**NOTE**
>
>必须传入插件中给出的Header组件,如AnyHeader,DefaultHeader等
| Type | Required |
| ---- | -------- |
| Element/func | No |

---

#### `enableRefresh`

是否启用下拉刷新,默认为true
Expand Down

0 comments on commit 38d1fce

Please sign in to comment.