From fcb82694bb82805804e6c118573e8456e0406ebd Mon Sep 17 00:00:00 2001 From: Peter Bell Date: Thu, 31 Aug 2017 16:29:53 -0700 Subject: [PATCH] Fixed documentation: was referencing expandedRows props for ReactTable, but it was renamed to expanded (#440) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f56441d..88347b8 100644 --- a/README.md +++ b/README.md @@ -309,7 +309,7 @@ These are all of the available props (and their default values) for the main ` {...}} // Called when the page index is changed by the user onPageSizeChange={(pageSize, pageIndex) => {...}} // Called when the pageSize is changed by the user. The resolve page is also sent to maintain approximate position in the data onSortedChange={(newSorted, column, shiftKey) => {...}} // Called when a sortable column header is clicked with the column itself and if the shiftkey was held. If the column is a pivoted column, `column` will be an array of columns - onExpandedChange={(newExpanded, index, event) => {...}} // Called when an expander is clicked. Use this to manage `expandedRows` + onExpandedChange={(newExpanded, index, event) => {...}} // Called when an expander is clicked. Use this to manage `expanded` onFilteredChange={(column, value) => {...}} // Called when a user enters a value into a filter input field or the value passed to the onFiltersChange handler by the Filter option. onResizedChange={(newResized, event) => {...}} // Called when a user clicks on a resizing component (the right edge of a column header) />