File tree 5 files changed +679
-1
lines changed 5 files changed +679
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- feat: add ` ignoreFunctionInColumnCompare ` to solve closure problem in renderers
6
6
- chore: skip unnecessary cloneElement in ` renderElement `
7
+ - feat: add type declarations
7
8
8
9
## v1.10.9 (2020-08-13)
9
10
Original file line number Diff line number Diff line change 4
4
"description" : " a react table component to display large data set with high performance and flexibility" ,
5
5
"main" : " lib/index.js" ,
6
6
"module" : " es/index.js" ,
7
+ "types" : " types/index.d.ts" ,
7
8
"files" : [
8
9
" lib/" ,
9
10
" es/" ,
62
63
"@babel/plugin-transform-runtime" : " ^7.0.0" ,
63
64
"@babel/preset-env" : " ^7.0.0" ,
64
65
"@babel/preset-react" : " ^7.0.0" ,
66
+ "@types/react" : " ^16.9.46" ,
65
67
"babel-core" : " ^7.0.0-bridge.0" ,
66
68
"babel-eslint" : " ^9.0.0" ,
67
69
"babel-jest" : " ^23.4.2" ,
Original file line number Diff line number Diff line change @@ -212,6 +212,9 @@ class BaseTable extends React.PureComponent {
212
212
213
213
/**
214
214
* Reset cached offsets for positioning after a specific rowIndex, should be used only in dynamic mode(estimatedRowHeight is provided)
215
+ *
216
+ * @param {number } rowIndex
217
+ * @param {boolean } shouldForceUpdate
215
218
*/
216
219
resetAfterRowIndex ( rowIndex = 0 , shouldForceUpdate = true ) {
217
220
if ( ! this . props . estimatedRowHeight ) return ;
@@ -283,7 +286,7 @@ class BaseTable extends React.PureComponent {
283
286
* - `center` - Center align the row within the table.
284
287
* - `end` - Align the row to the bottom side of the table.
285
288
* - `start` - Align the row to the top side of the table.
286
-
289
+ *
287
290
* @param {number } rowIndex
288
291
* @param {string } align
289
292
*/
You can’t perform that action at this time.
0 commit comments