cyntler / cyntler/react-doc-viewer

Not able to render Word document

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

Description

I am trying to load PDF and Word-Document into my project

```
import DocViewer, { DocViewerRenderers } from '@cyntler/react-doc-viewer';
import '@cyntler/react-doc-viewer/dist/index.css';

function DocViewerFile() {
const docs = [
{
uri: 'http://10.6.0.219/testing/1ZBF000043R1001.docx',
},
];

return ;
}

export default DocViewerFile;
```

Above code loads PDF successfully - with the PDF hosted on the same link but it is not able to load Word Document. Any idea what is missing here.

NOTE - http://10.6.0.219 is a minio blob repository.

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.