import React from 'react';
import { Button } from '@easyv/antd';

const MyButton = ({ children, styles, onClick }) => {
  return (
    <Button
      onClick={onClick}
      style={{
        width: 104,
        height: 32,
        fontSize: 12,
        fontFamily: 'PingFangSC-Regular',
        color: '#2491F7',
        border: '1px solid #2491F7',
        borderRadius: 2,
        ...styles
      }}>
      {children}
    </Button>
  );
};

export default MyButton;
