import { Button } from 'antd';
import { exportDoc } from './Index';

const ExportDocxBtn = ({ subject, title, sectionsData, ...props }) => {
  return (
    <>
      <Button size='small'
        onClick={() => {
          exportDoc({title, subject, sectionsData});
        }}
      >
        导出 .docx
      </Button>
    </>
  );
};
export default ExportDocxBtn;
