Skip to content

Commit 848f863

Browse files
committed
Update README.md
1 parent c06d235 commit 848f863

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ npm i react-native-sortable-list --save
1717

1818
### Examples
1919
- [Basic](https://github.com/gitim/react-native-sortable-list/tree/master/examples/Basic)
20+
- [Horizontal](https://github.com/gitim/react-native-sortable-list/tree/master/examples/Horizontal)
2021

2122

2223
### API
@@ -29,6 +30,8 @@ npm i react-native-sortable-list --save
2930
- **sortingEnabled** (boolean) when false, rows are not sortable. The default value is true.
3031
- **scrollEnabled** (boolean) when false, the content does not scrollable. The default value is true.
3132
- **autoscrollAreaSize** (number) determines the height for vertical list and the width for horizontal list of the area at the begining and the end of the list that will trigger autoscrolling. Defaults to 60.<br />
33+
- **refreshControl** (element)<br />
34+
A RefreshControl that works the same way as a ScrollView's refreshControl.
3235
- **renderRow** (function)<br />
3336
`({key, index, data, disabled, active}) => renderable`<br />
3437
Takes a row key, row index, data entry from the data source and its statuses disabled, active and should return a renderable component to be rendered as the row.<br />
@@ -44,8 +47,6 @@ Called when the active row was released.
4447
- **onPressRow** (function)<br />
4548
`(key) => void`<br />
4649
Called when a row was pressed.
47-
- **refreshControl** (element)<br />
48-
A RefreshControl that works the same way as a ScrollView's refreshControl.
4950

5051
#### Methods
5152
- **scrollBy(dy?, animated?)** scrolls by a given y offset, either immediately or with a smooth animation

0 commit comments

Comments
 (0)