react-base-table
Advanced tools
Comparing version 1.11.1 to 1.11.2
@@ -5,2 +5,6 @@ # CHANGELOG | ||
## v1.11.2 (2020-08-18) | ||
- fix: add missing types for propTypes of `BaseTable` | ||
## v1.11.1 (2020-08-17) | ||
@@ -7,0 +11,0 @@ |
@@ -1528,3 +1528,3 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; | ||
* Each of the keys is row event name, like `onClick`, `onDoubleClick` and etc. | ||
* Each of the handlers is of the shape of `({ rowData, rowIndex, rowKey, event }) => object` | ||
* Each of the handlers is of the shape of `({ rowData, rowIndex, rowKey, event }) => *` | ||
*/ | ||
@@ -1531,0 +1531,0 @@ rowEventHandlers: PropTypes.object, |
@@ -1609,3 +1609,3 @@ "use strict"; | ||
* Each of the keys is row event name, like `onClick`, `onDoubleClick` and etc. | ||
* Each of the handlers is of the shape of `({ rowData, rowIndex, rowKey, event }) => object` | ||
* Each of the handlers is of the shape of `({ rowData, rowIndex, rowKey, event }) => *` | ||
*/ | ||
@@ -1612,0 +1612,0 @@ rowEventHandlers: _propTypes["default"].object, |
{ | ||
"name": "react-base-table", | ||
"version": "1.11.1", | ||
"version": "1.11.2", | ||
"description": "a react table component to display large data set with high performance and flexibility", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -471,6 +471,6 @@ declare module 'react-base-table' { | ||
* Each of the keys is row event name, like `onClick`, `onDoubleClick` and etc. | ||
* Each of the handlers is of the shape of `({ rowData, rowIndex, rowKey, event }) => object` | ||
* Each of the handlers is of the shape of `({ rowData, rowIndex, rowKey, event }) => *` | ||
*/ | ||
rowEventHandlers?: { | ||
[key: string]: (args: { rowData: T; rowIndex: number; rowKey: RowKey; event: React.SyntheticEvent }) => object; | ||
[key: string]: (args: { rowData: T; rowIndex: number; rowKey: RowKey; event: React.SyntheticEvent }) => void; | ||
}; | ||
@@ -524,2 +524,4 @@ /** | ||
static readonly PlaceholderKey = '__placeholder__'; | ||
static defaultProps: Partial<BaseTableProps>; | ||
static propTypes: React.WeakValidationMap<BaseTableProps>; | ||
@@ -526,0 +528,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
927660
7528