Skip to content

Commit

Permalink
fix: prop-types error
Browse files Browse the repository at this point in the history
  • Loading branch information
proudust committed Jul 17, 2022
1 parent e7c44ff commit 214ce9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ CSVReader.propTypes = {
inputId: PropTypes.string,
inputName: PropTypes.string,
inputStyle: PropTypes.object,
inputRef: PropTypes.func,
inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.exact({ current: PropTypes.instanceOf(HTMLInputElement) })]),
label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
onError: PropTypes.func,
onFileLoaded: PropTypes.func.isRequired,
Expand Down

0 comments on commit 214ce9b

Please sign in to comment.