Skip to content

Commit 5b410d0

Browse files
committed
fix: npm run docz:build error
1 parent 0d0a597 commit 5b410d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ CSVReader.propTypes = {
105105
inputId: PropTypes.string,
106106
inputName: PropTypes.string,
107107
inputStyle: PropTypes.object,
108-
inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.exact({ current: PropTypes.instanceOf(HTMLInputElement) })]),
108+
inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.exact({ current: PropTypes.any })]),
109109
label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
110110
onError: PropTypes.func,
111111
onFileLoaded: PropTypes.func.isRequired,

0 commit comments

Comments
 (0)