Skip to content

Commit 925fc66

Browse files
authored
fix: allow any react node to be used as column title (#405)
* feat: allow any react node to be used as column title * bump version to 1.13.4 * Update CHANGELOG.md
1 parent 0424c9e commit 925fc66

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
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.4 (2023-03-15)
6+
7+
- fix: allow any react node to be used as column title
8+
59
## v1.13.3 (2023-03-13)
610

711
- fix: pass extra sorting props to custom SortIndicator component

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.3",
3+
"version": "1.13.4",
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/Column.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Column.propTypes = {
3737
/**
3838
* Title for the column header
3939
*/
40-
title: PropTypes.string,
40+
title: PropTypes.node,
4141
/**
4242
* Data key for the column cell, could be "a.b.c"
4343
*/

0 commit comments

Comments
 (0)