Skip to content

Commit e5cf86e

Browse files
joshuapintergitim
authored andcommitted
Add autoscrollAreaHeight to README.
1 parent 25272b1 commit e5cf86e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,14 @@ npm i react-native-sortable-list --save
2626
- **style** (Object, Array)
2727
- **contentContainerStyle** (Object, Array) these styles will be applied to the inner scroll view content container
2828
- **sortingEnabled** (boolean) when false, rows are not sortable. The default value is true.
29-
- **scrollEnabled** (boolean) when false, the content does not scrollable. The default value is true.<br /><br />
29+
- **scrollEnabled** (boolean) when false, the content does not scrollable. The default value is true.
30+
- **autoscrollAreaHeight** (number) determines the height of the area at the top and the bottom of the list that will trigger autoscrolling. Defaults to 60.<br />
31+
<br />
3032
- **renderRow** (function)<br />
3133
`({key, index, data, disabled, active}) => renderable`<br />
32-
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 /><br />
34+
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.
35+
<br />
36+
<br />
3337
- **onChangeOrder** (function)<br />
3438
`(nextOrder) => void`<br />
3539
Called when rows were reordered, takes an array of rows keys of the next rows order.

0 commit comments

Comments
 (0)