import { Button } from 'antd';
import React from 'react';

import styles from '../com.module.less';
// const FormItem = Form.Item;
const SubmitButton = ({ submit }: any) => {
  return (
    <div style={{ textAlign: 'right' }} className={styles.item_wapper}>
      <Button style={{ ...submit?.style }}>{submit?.text}</Button>
    </div>
  );
};

export default SubmitButton;
