/** @format */
import * as React from 'react';
import {ButtonProps} from 'antd/es/button';

import Button from './index';
const createTask: React.FC<ButtonProps> = props => {
    const {children, ...rest} = props;
    return (
        <Button onClick={() => (location.href = '/assets/descrtion/任务文件模板.xlsx')} {...rest}>
            {children}
        </Button>
    );
};
export default createTask;
