Skip to content

Commit f3400a0

Browse files
committed
fix(Upload): passes nativeInputProps to the underlying <input> (refs #155)
1 parent aad8885 commit f3400a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Upload.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export const Upload = memo(
8383
multiple={multiple}
8484
name={inputId}
8585
type="file"
86+
{...nativeInputProps}
8687
/>
8788
{state !== "default" && (
8889
<p

0 commit comments

Comments
 (0)