File Preview
Preview different type of files.
#
Default file previewWhen there is no extension or not supported extension file then it'll go as default.
/fileUrl
#
File previewDeclare file url by fileUrl
prop.
docxFile.docx
Add name instead of file url by fileName
prop.
xlsxFile
File extention name is displayed in front of blank page icon.
zipFile.zip
#
Picture and Video previewPreview jpeg, jpg, gif, png of extension picures and mp4 video.

#
APIName | Type | Default | Description |
---|---|---|---|
fileUrl | string | Define url of file. Supported types: docx, pptx, xlsx, mp4, jpeg, jpg, gif, png, zip, csv, doc, ppt, psd, avi, txt, rar, mp3, pdf, xls | |
fileName | string | Show file name instead of the url |