From cbb1d15923a61154ee57f3a16681b27fcb4c41ee Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kaiser Date: Fri, 16 Dec 2022 18:22:22 +0100 Subject: [PATCH] [no ci] [Doc] Fix ImageInput accept prop examples --- docs/ImageInput.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ImageInput.md b/docs/ImageInput.md index 4c63230f7bf..4d86a21a1bc 100644 --- a/docs/ImageInput.md +++ b/docs/ImageInput.md @@ -66,7 +66,7 @@ Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and ## `accept` -Equivalent of [the `accept` attribute of an ``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept). `accept` must be a valid [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml), according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file) or a valid file extension. +Equivalent of [the `accept` attribute of an ``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept). `accept` must be a valid [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml), according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file). ```jsx @@ -76,7 +76,7 @@ Equivalent of [the `accept` attribute of an ``](https://devel Examples of valid `accept` values: -- '.png,.gif,.jpg,.jpeg' +- 'image/png,image/svg+xml,image/jpg,image/jpeg' - 'image/*' If left empty, all file types are accepted (even non-image types).