@insticc/react-datagrid-2 1.0.4 → 1.0.6

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.
Files changed (2) hide show
  1. package/build/index.js +7 -5
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -1,10 +1,6 @@
1
1
  "use strict";
2
2
 
3
3
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports["default"] = void 0;
8
4
  var _react = _interopRequireWildcard(require("react"));
9
5
  var _propTypes = _interopRequireWildcard(require("prop-types"));
10
6
  var _materialReactTable = require("material-react-table");
@@ -553,6 +549,12 @@ DataGrid.propTypes = {
553
549
  enableGlobalFilter: _propTypes["default"].bool,
554
550
  enableVirtualization: _propTypes["default"].bool
555
551
  };
552
+
553
+ // export default DataGrid;
554
+ module.exports = {
555
+ DataGrid: DataGrid
556
+ };
557
+
556
558
  // DataGrid.defaultProps = {
557
559
  // hasExcelExport: false,
558
560
  // hasPdfExport: false,
@@ -566,7 +568,7 @@ DataGrid.propTypes = {
566
568
  // itemsPerPage: [10, 15, 20, 25],
567
569
  // rowHeight: 60,
568
570
  // };
569
- var _default = exports["default"] = DataGrid;
571
+
570
572
  /**
571
573
  * [ DataGrid Example ]
572
574
  import React from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insticc/react-datagrid-2",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "scripts": {