diff --git a/src/index.tsx b/src/index.tsx index d74aef8..cf6e582 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -105,7 +105,7 @@ CSVReader.propTypes = { inputId: PropTypes.string, inputName: PropTypes.string, inputStyle: PropTypes.object, - inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.exact({ current: PropTypes.instanceOf(HTMLInputElement) })]), + inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.exact({ current: PropTypes.any })]), label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]), onError: PropTypes.func, onFileLoaded: PropTypes.func.isRequired,