We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3442f1 commit f48c3d3Copy full SHA for f48c3d3
README.md
@@ -55,8 +55,8 @@ import { ReactSpreadsheetImport } from "react-spreadsheet-import";
55
isOpen: Boolean
56
// Called when flow is closed without reaching submit.
57
onClose: () => void
58
- // Called after user completes the flow. Provides data array, where data keys matches your field keys.
59
- onSubmit: (data, file) => void
+ // Called after user completes the flow. Provides data array, where data keys matches your field keys. You can return a promise that will be awaited.
+ onSubmit: (data, file) => void | Promise<any>
60
```
61
62
### Fields
0 commit comments