LoginSubmit.js 448 Bytes
Newer Older
ddcat1115's avatar
ddcat1115 committed
1 2 3 4 5 6 7
import React from 'react';
import classNames from 'classnames';
import { Button, Form } from 'antd';
import styles from './index.less';

const FormItem = Form.Item;

ZHAO Jinxiang's avatar
ZHAO Jinxiang committed
8
const LoginSubmit = ({ className, ...rest }) => {
ddcat1115's avatar
ddcat1115 committed
9 10 11 12 13 14 15
  const clsString = classNames(styles.submit, className);
  return (
    <FormItem>
      <Button size="large" className={clsString} type="primary" htmlType="submit" {...rest} />
    </FormItem>
  );
};
ZHAO Jinxiang's avatar
ZHAO Jinxiang committed
16 17

export default LoginSubmit;