File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## NEXT VERSION
4
4
5
+ - fix: change propTypes for ` BaseTable.components `
6
+
5
7
## v1.12.0 (2020-10-11)
6
8
7
9
- feat: add the ability to pass function in ` estimatedRowHeight ` to determine the initial height of rows
Original file line number Diff line number Diff line change @@ -1306,10 +1306,10 @@ BaseTable.propTypes = {
1306
1306
* A object for the custom components, like `ExpandIcon` and `SortIndicator`
1307
1307
*/
1308
1308
components : PropTypes . shape ( {
1309
- TableCell : PropTypes . func ,
1310
- TableHeaderCell : PropTypes . func ,
1311
- ExpandIcon : PropTypes . func ,
1312
- SortIndicator : PropTypes . func ,
1309
+ TableCell : PropTypes . elementType ,
1310
+ TableHeaderCell : PropTypes . elementType ,
1311
+ ExpandIcon : PropTypes . elementType ,
1312
+ SortIndicator : PropTypes . elementType ,
1313
1313
} ) ,
1314
1314
} ;
1315
1315
You can’t perform that action at this time.
0 commit comments