@@ -55,14 +55,14 @@ Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and
5555
5656| Prop | Required | Type | Default | Description |
5757| ------------------------| ----------| ---------------------| -----------| ---------------------------------------------------------------------|
58- | ` accept ` | Optional | `string | string[ ] ` | - | Accepted file type(s). When empty, all file types are accepted. |
58+ | ` accept ` | Optional | `string | string[ ] ` | - | Accepted file type(s). When empty, all file types are accepted. |
5959| ` children ` | Optional | ` ReactNode ` | - | Element used to preview file(s) |
6060| ` minSize ` | Optional | ` number ` | 0 | Minimum file size (in bytes), e.g. 5000 for 5KB |
6161| ` maxSize ` | Optional | ` number ` | ` Infinity ` | Maximum file size (in bytes), e.g. 5000000 for 5MB |
6262| ` multiple ` | Optional | ` boolean ` | ` false ` | Whether the inputs can accept multiple files. |
6363| ` options ` | Optional | ` Object ` | ` {} ` | Additional options passed to react-dropzone's ` useDropzone() ` hook. |
6464| ` placeholder ` | Optional | ` ReactNode ` | - | Invite displayed in the drop zone |
65- | ` removeIcon ` | Optional | ` ReactNode ` | [ MUI's RemoveCircle icon] ( https://mui.com/material-ui/material-icons/?query=removeCir&selected=RemoveCircle ) | The clickable icon for removing images |
65+ | ` RemoveIcon ` | Optional | ` ReactNode ` | [ MUI's RemoveCircle icon] ( https://mui.com/material-ui/material-icons/?query=removeCir&selected=RemoveCircle ) | The clickable icon for removing files |
6666| ` validateFile Removal ` | Optional | ` function ` | - | Allows to cancel the removal of files |
6767
6868` <FileInput> ` also accepts the [ common input props] ( ./Inputs.md#common-input-props ) .
@@ -153,9 +153,9 @@ If that's not enough, you can pass a `placeholder` prop to overwrite it. The val
153153< / FileInput>
154154```
155155
156- ## ` removeIcon `
156+ ## ` RemoveIcon `
157157
158- Optionally overwrite the [ default icon] ( https://mui.com/material-ui/material-icons/?query=removeCir&selected=RemoveCircle ) for removing files :
158+ Use the ` RemoveIcon ` prop to change the icon displayed as the remove button :
159159
160160``` jsx
161161< ImageInput source= " attachments" RemoveIcon= {CustomSvgIcon}>
0 commit comments