This example shows how we can render .docx files by converting them to their HTML representation via the mammoth library. With the document represented in HTML, we can benefit from all unified-doc APIs (e.g. render, search, export, marks etc).
.docx file using the DocPreview component.unified-doc APIs.