React ionic in app Document viewer

Hi all,

I wrote an ionic app with react and I’m trying to add a document viewer [.png, .txt, .pdf, .xlsx, .docx, .pptx] which works with BASE64.

I’ve tried to google it but either the suggestions don’t work or there is just too much information.

Thanks in advance for any help.