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
| accept | File types that can be accepted. See [input accept Attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept)| string | - ||
| beforeUpload | Hook function which will be executed before uploading. Uploading will be stopped with `false` or a rejected Promise returned. **Warning:this function is not supported in IE9**。 | (file, fileList) => `boolean | Promise` | - ||
27
27
| customRequest | override for the default xhr behavior allowing for additional customization and ability to implement your own XMLHttpRequest | Function | - ||
28
28
| data | Uploading params or function which can return uploading params. | object\|function(file) | - ||
| fileList | List of files that have been uploaded (controlled). Here is a common issue [#2423](https://github.com/ant-design/ant-design/issues/2423) when using it | object\[]| - ||
| listType | Built-in stylesheets, support for three types: `text`, `picture` or `picture-card`| string |'text'||
32
+
| listType | Built-in stylesheets, support for three types: `text`, `picture` or `picture-card`| string |`text`||
33
33
| multiple | Whether to support selected multiple file. `IE10+` supported. You can select multiple files with CTRL holding down while multiple is set to be true | boolean | false ||
34
-
| name | The name of uploading file | string |'file'||
34
+
| name | The name of uploading file | string |`file`||
| showUploadList | Whether to show default upload list, could be an object to specify `showPreviewIcon` and `showRemoveIcon` individually | Boolean or { showPreviewIcon?: boolean, showRemoveIcon?: boolean } | true ||
37
37
| supportServerRender | Need to be turned on while the server side is rendering. | boolean | false ||
0 commit comments