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.
- package/README.md +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.
|
|
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.
|
|
102
|
+
await handler.start({
|
|
103
103
|
fileName: 'data-export',
|
|
104
104
|
columns: [...],
|
|
105
105
|
getNextPage: async (offset) => {...}
|
package/package.json
CHANGED