mirror of
https://github.com/gosticks/react-table.git
synced 2026-08-11 12:30:17 +00:00
Fixed documentation to match the actual implementation settings. Sorting objects use a desc prop not a asc prop. (#239)
This commit is contained in:
committed by
Tanner Linsley
parent
9d9b1fdee4
commit
1757b4dd9f
@@ -650,10 +650,10 @@ Here are the props and their corresponding callbacks that control the state of t
|
||||
pageSize={20} // the number of rows per page to be displayed
|
||||
sorting={[{
|
||||
id: 'lastName',
|
||||
asc: true
|
||||
desc: true
|
||||
}, {
|
||||
id: 'firstName',
|
||||
asc: true
|
||||
desc: true
|
||||
}]} // the sorting model for the table
|
||||
expandedRows={{
|
||||
1: true,
|
||||
|
||||
Reference in New Issue
Block a user