Skip to content

Commit 2d4924c

Browse files
authored
get's -> is
"gets" or "is", "get's" isn't a thing.
1 parent 84bfae8 commit 2d4924c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ There are already a number of great Drag & Drop libraries out there (for instanc
104104
| pressDelay | Number | `0` | If you'd like elements to only become sortable after being pressed for a certain time, change this property. A good sensible default value for mobile is `200`. Cannot be used in conjunction with the `distance` prop. |
105105
| pressThreshold | Number | `5` | Number of pixels of movement to tolerate before ignoring a press event. |
106106
| distance | Number | `0` | If you'd like elements to only become sortable after being dragged a certain number of pixels. Cannot be used in conjunction with the `pressDelay` prop. |
107-
| shouldCancelStart | Function | [Function](https://github.com/clauderic/react-sortable-hoc/blob/master/src/SortableContainer/index.js#L48) | This function get's invoked before sorting begins, and can be used to programatically cancel sorting before it begins. By default, it will cancel sorting if the event target is either an `input`, `textarea`, `select` or `option`. |
108-
| onSortStart | Function | | Callback that get's invoked when sorting begins. `function({node, index, collection}, event)` |
109-
| onSortMove | Function | | Callback that get's invoked during sorting as the cursor moves. `function(event)` |
110-
| onSortEnd | Function | | Callback that get's invoked when sorting ends. `function({oldIndex, newIndex, collection}, e)` |
107+
| shouldCancelStart | Function | [Function](https://github.com/clauderic/react-sortable-hoc/blob/master/src/SortableContainer/index.js#L48) | This function is invoked before sorting begins, and can be used to programatically cancel sorting before it begins. By default, it will cancel sorting if the event target is either an `input`, `textarea`, `select` or `option`. |
108+
| onSortStart | Function | | Callback that is invoked when sorting begins. `function({node, index, collection}, event)` |
109+
| onSortMove | Function | | Callback that is invoked during sorting as the cursor moves. `function(event)` |
110+
| onSortEnd | Function | | Callback that is invoked when sorting ends. `function({oldIndex, newIndex, collection}, e)` |
111111
| useDragHandle | Boolean | `false` | If you're using the `SortableHandle` HOC, set this to `true` |
112112
| useWindowAsScrollContainer | Boolean | `false` | If you want, you can set the `window` as the scrolling container |
113113
| hideSortableGhost | Boolean | `true` | Whether to auto-hide the ghost element. By default, as a convenience, React Sortable List will automatically hide the element that is currently being sorted. Set this to false if you would like to apply your own styling. |

0 commit comments

Comments
 (0)