@insticc/react-datagrid-2 1.1.6 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -189,7 +189,7 @@ ActionButton.propTypes = {
189
189
  // the action button icon
190
190
  selectionMode: _propTypes["default"].oneOf(['single', 'multi', 'always']),
191
191
  // the action button selection mode
192
- confirmMessage: _propTypes["default"].string,
192
+ confirmMessage: _propTypes["default"].oneOfType([_propTypes["default"].element, _propTypes["default"].string]),
193
193
  // the action confirming message
194
194
  hasConfirmMessage: _propTypes["default"].bool,
195
195
  // defines whether there is a confirm message for the action button
@@ -606,7 +606,7 @@ DataGrid.propTypes = {
606
606
  color: _propTypes["default"].oneOf(['blue', 'red', 'green', 'yellow', 'orange', 'black', 'grey', 'teal', 'brown', 'violet', 'purple', 'olive', 'pink']),
607
607
  icon: _propTypes["default"].oneOfType([_propTypes["default"].element, _propTypes["default"].string]).isRequired,
608
608
  selectionMode: _propTypes["default"].oneOf(['single', 'multi', 'always']),
609
- confirmMessage: _propTypes["default"].string,
609
+ confirmMessage: _propTypes["default"].oneOfType([_propTypes["default"].element, _propTypes["default"].string]),
610
610
  hasConfirmMessage: _propTypes["default"].bool
611
611
  })),
612
612
  // array of objects -> each object represents a single data grid action button
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insticc/react-datagrid-2",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "scripts": {