import { DocViewer } from '@anypreview/react'; import '@anypreview/react/styles.css'; export function Preview() { return ( <div style={{ height: 600 }}> <DocViewer source="/files/report.docx" /> </div> ); }