Created
June 6, 2018 09:19
-
-
Save sultaniman/13c5f01adfbdfd1031218a08197d5314 to your computer and use it in GitHub Desktop.
Configuration for file upload component
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const ACCEPT_INPUT = [ | |
| 'application/csv', | |
| 'text/csv', | |
| 'image/*', | |
| 'application/pdf', | |
| 'text/plain', | |
| 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', | |
| 'application/vnd.ms-excel', | |
| 'application/pdf', | |
| 'application/msword', | |
| 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', | |
| 'text/rtf', | |
| 'application/rtf', | |
| 'text/richtext' | |
| ] | |
| // 20 MB | |
| export const MAX_FILE_SIZE = 20971520 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment