cyntler / cyntler/react-doc-viewer

How to render blob in react doc viewer?

Open
#206 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
481
Forks
147
PR merge metrics
No merged PRs in 30d

Description

I have implemented doc viewer using react doc viewer. But I'm having difficulty setting the blob that I receive from external API into the docs of DocViewer. Has anyone implemented this, if yes , please enlighten me.

Currently, my approach is, after fetching the blob from api. I create a Url using createObjectURL and pass the url as uri to the DocViewer. What am I missing here ??

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.