Skip to content

Commit 0424c9e

Browse files
authored
fix: pass sorting status to SortIndicator (#404)
* fix: pass sorting status to SortIndicator * chore: bump version to 1.13.3
1 parent 7e2c33f commit 0424c9e

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NEXT VERSION
44

5+
## v1.13.3 (2023-03-13)
6+
7+
- fix: pass extra sorting props to custom SortIndicator component
8+
59
## v1.13.2 (2022-05-14)
610

711
- fix: error imported by optimization render task

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-base-table",
3-
"version": "1.13.2",
3+
"version": "1.13.3",
44
"description": "a react table component to display large data set with high performance and flexibility",
55
"main": "lib/index.js",
66
"module": "es/index.js",

src/BaseTable.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ class BaseTable extends React.PureComponent {
502502
{cell}
503503
{column.sortable && (
504504
<SortIndicator
505+
sorting={sorting}
505506
sortOrder={sortOrder}
506507
className={cn(this._prefixClass('sort-indicator'), {
507508
[this._prefixClass('sort-indicator--descending')]: sortOrder === SortOrder.DESC,

0 commit comments

Comments
 (0)