--- title: UploadFileRestrictions description: "Learn how to build custom functionality when working with the React Upload by Kendo UI with the help of the UploadFileRestrictions." api_reference: true type: inner_api slug: api_upload_uploadfilerestrictions --- # UploadFileRestrictions Configures the restrictions for the files that can be uploaded.
| Name | Type | Default | Description |
|---|---|---|---|
| #### allowedExtensions? |
string[]
|
The list of the allowed file extensions. Recognizes entries of both `.type` (for example, `.docx`, `.png`, `.svg`, `.xls`, and others) and `type` (for example, `docx`, `png`, `svg`, `xls`, and others) values. | |
| #### maxFileSize? |
number
|
Defines the maximum file size in bytes. | |
| #### minFileSize? |
number
|
Defines the minimum file size in bytes. |