@corbe30/fortune-excel 2.0.0 → 2.1.0

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.
package/README.md CHANGED
@@ -46,7 +46,7 @@ You can check the example in [Storybook](https://github.com/Corbe30/FortuneExcel
46
46
  />
47
47
  <Workbook
48
48
  key={key} data={sheets} ref={workbookRef}
49
- customToolbarItems={[importToolBarItem(), exportToolBarItem(workbookRef)]}
49
+ customToolbarItems={[importToolBarItem(), exportToolBarItem()]}
50
50
  />
51
51
  </>
52
52
  );
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- export declare const exportToolBarItem: (sheetRef: any) => {
2
+ export declare const exportToolBarItem: () => {
3
3
  key: string;
4
4
  tooltip: string;
5
5
  icon: React.JSX.Element;
@@ -42,7 +42,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
42
42
  exports.importToolBarItem = exports.exportToolBarItem = void 0;
43
43
  var ExportIcon_1 = __importDefault(require("../icons/ExportIcon"));
44
44
  var ImportIcon_1 = __importDefault(require("../icons/ImportIcon"));
45
- var exportToolBarItem = function (sheetRef) {
45
+ var exportToolBarItem = function () {
46
46
  return {
47
47
  key: "export",
48
48
  tooltip: "Export ...",
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "workspaces": [
4
4
  "src/*"
5
5
  ],
6
- "version": "2.0.0",
6
+ "version": "2.1.0",
7
7
  "description": "An Excel import/export import library for FortuneSheet",
8
8
  "main": "dist/main.js",
9
9
  "types": "dist/main.d.ts",