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 22
33## NEXT VERSION
44
5+ - fix: change propTypes for ` BaseTable.components `
6+
57## v1.12.0 (2020-10-11)
68
79- 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 = {
13061306 * A object for the custom components, like `ExpandIcon` and `SortIndicator`
13071307 */
13081308 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 ,
13131313 } ) ,
13141314} ;
13151315
You can’t perform that action at this time.
0 commit comments