Skip to content

Commit

Permalink
fix: originalFile attr + run build
Browse files Browse the repository at this point in the history
  • Loading branch information
nzambello committed Oct 4, 2021
1 parent 0d379bd commit 66906d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface CSVReaderProps {
inputStyle?: object;
label?: string | React.ReactNode;
onError?: (error: Error) => void;
onFileLoaded: (data: Array<any>, fileInfo: IFileInfo) => any;
onFileLoaded: (data: Array<any>, fileInfo: IFileInfo, originalFile?: File) => any;
parserOptions?: PapaParse.ParseConfig;
disabled?: boolean;
strict?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion dist/react-csv-reader.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/react-csv-reader.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface CSVReaderProps {
inputStyle?: object
label?: string | React.ReactNode
onError?: (error: Error) => void
onFileLoaded: (data: Array<any>, fileInfo: IFileInfo) => any
onFileLoaded: (data: Array<any>, fileInfo: IFileInfo, originalFile?: File) => any
parserOptions?: PapaParse.ParseConfig
disabled?: boolean
strict?: boolean
Expand Down

0 comments on commit 66906d8

Please sign in to comment.