Skip to content
This repository was archived by the owner on Jun 5, 2022. It is now read-only.

Commit efe2138

Browse files
author
Dónal Murtagh
committed
fixes #40 Incorrect default accept attribute value
1 parent 6156b69 commit efe2138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/component/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ ReactImageUploadComponent.defaultProps = {
214214
buttonClassName: "",
215215
buttonStyles: {},
216216
withPreview: false,
217-
accept: "accept=image/*",
217+
accept: "image/*",
218218
name: "",
219219
withIcon: true,
220220
buttonText: "Choose images",

0 commit comments

Comments
 (0)