import { Button, Form } from 'antd'; import { ButtonProps } from 'antd/es/button'; import React from 'react'; import classNames from 'classnames'; import styles from './index.less'; const FormItem = Form.Item; interface LoginSubmitProps extends ButtonProps { className?: string; } const LoginSubmit: React.SFC = ({ className, ...rest }) => { const clsString = classNames(styles.submit, className); return (