react-csv-autopilot 0.0.2 → 0.0.3

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/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -56,7 +56,7 @@ function ExportButton() {
56
56
  });
57
57
 
58
58
  const handleExport = async () => {
59
- await handler.execute({
59
+ await handler.start({
60
60
  fileName: 'users-export',
61
61
  columns: [
62
62
  { key: 'id', label: 'ID' },
@@ -99,7 +99,7 @@ Hook that provides access to the CSV export controller.
99
99
  ```typescript
100
100
  const { handler } = useExportCSV();
101
101
 
102
- await handler.execute({
102
+ await handler.start({
103
103
  fileName: 'data-export',
104
104
  columns: [...],
105
105
  getNextPage: async (offset) => {...}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-csv-autopilot",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "React hooks for CSV export with automatic pagination - drop the function, we handle the rest",
5
5
  "author": "Pavlo Kuzina",
6
6
  "license": "MIT",