Skip to content

Commit

Permalink
Update file input valid extensions (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
yigiterdev authored Jun 12, 2024
1 parent 4fe6508 commit a34c7fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/FileInput/FileInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ const MIME_TYPES = {
images: 'image/*, video/*',
pdf: '.pdf,application/pdf',
mp4: '.mp4,video/mp4',
csv: '.csv,text/csv',
json: '.json,application/json',
}

type AllowedMimeTypes = keyof typeof MIME_TYPES
Expand Down

0 comments on commit a34c7fa

Please sign in to comment.