diff --git a/CHANGELOG.md b/CHANGELOG.md index b002314d..dc1f0adf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## NEXT VERSION +## v1.13.4 (2023-03-15) + +- fix: allow any react node to be used as column title + ## v1.13.3 (2023-03-13) - fix: pass extra sorting props to custom SortIndicator component diff --git a/package.json b/package.json index 77b3c6eb..59d7becd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-base-table", - "version": "1.13.3", + "version": "1.13.4", "description": "a react table component to display large data set with high performance and flexibility", "main": "lib/index.js", "module": "es/index.js", diff --git a/src/Column.js b/src/Column.js index 362ad617..0102df84 100644 --- a/src/Column.js +++ b/src/Column.js @@ -37,7 +37,7 @@ Column.propTypes = { /** * Title for the column header */ - title: PropTypes.string, + title: PropTypes.node, /** * Data key for the column cell, could be "a.b.c" */