Skip to content

Commit aedea8a

Browse files
authored
Update README.md with file in onSubmit
1 parent 395972c commit aedea8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import { ReactSpreadsheetImport } from "react-spreadsheet-import";
5656
// Called when flow is closed without reaching submit.
5757
onClose: () => void
5858
// Called after user completes the flow. Provides data array, where data keys matches your field keys.
59-
onSubmit: (data) => void
59+
onSubmit: (data, file) => void
6060
```
6161

6262
### Fields

0 commit comments

Comments
 (0)