From 42ad10a7d89efe1b103655ea59bf7934e524e052 Mon Sep 17 00:00:00 2001 From: gargroh <42495927+gargroh@users.noreply.github.com> Date: Sat, 15 Feb 2020 01:30:42 +0530 Subject: [PATCH] correct column sort fn (#1866) --- docs/api/useSortBy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/useSortBy.md b/docs/api/useSortBy.md index 1cee88d..77ade46 100644 --- a/docs/api/useSortBy.md +++ b/docs/api/useSortBy.md @@ -106,7 +106,7 @@ The following properties are available on every `Column` object returned by the - This function is used to resolve any props needed for this column's UI that is responsible for toggling the sort direction when the user clicks it. - You can use the `getSortByToggleProps` hook to extend its functionality. - Custom props may be passed. **NOTE: Custom props may override built-in sortBy props, so be careful!** -- `clearSorting: Function() => void` +- `clearSortBy: Function() => void` - This function can be used to programmatically clear the sorting for this column. - `isSorted: Boolean` - Denotes whether this column is currently being sorted