React File Preview (FIREBASE)

2019-07-15 07:43发布

问题:

I currently have files stored in Firebase Storage. I want to be able to generate a file preview for each file in real time (mapping).

For example, a PDF files will show the first page as an image, a .docx will be the first page of the document, a pptx will be the first slide, an unknown document will be a default document symbol.

Anyone know any good services for easy integration into React ES6?