Skip to content

Commit a666f4f

Browse files
Allow to reset FileInputField internal state by calling resetState function on its ref (#630)
1 parent 83ee128 commit a666f4f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/components/FileInputField/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ set the `multiple` prop to `true`.
241241
If you need to reset the input state, you can do it by calling the
242242
`resetState` method on the component's ref.
243243

244-
245244
```docoff-react-preview
246245
const fileInputRef = React.useRef();
247246

0 commit comments

Comments
 (0)