import { Spin } from 'antd';
import FileError from '../file-error';
import { useFetchDocx } from '../hooks';
import styles from './index.less';
const Docx = ({ filePath }: { filePath: string }) => {
  const { succeed, containerRef, error } = useFetchDocx(filePath);
  return (
    <>
      {succeed ? (
        
      ) : (
        {error}
      )}
    >
  );
};
export default Docx;