You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hook default will return empty `files`. When input file changed will return new `files`.
69
+
As above, the hook default will return empty `files`, when the input file changed will return new `files` with your changed.
65
70
66
-
You can pass `onChange` callback argument to `hook` and handle input file change for you want.
71
+
Sometimes you may want to custom onChange for your logic, so you can pass `onChange` callback argument to `hook` and handle input file change for you want.
| ref | React.RefObject |`React.RefObject`| The react `ref`. |
102
+
| files | array |`[]`| The hook default will return empty [File](https://developer.mozilla.org/en-US/docs/Web/API/File), when the input file changed will return new [File](https://developer.mozilla.org/en-US/docs/Web/API/File) with your changed. |
0 commit comments