import { Dropdown, Button,Avatar } from 'antd';
import React from 'react';
import classNames from 'classnames';
import styles from './index.less';
import { PlayCircleOutlined, FireOutlined } from '@ant-design/icons';
import { useHistory } from "umi"

const HeaderDropdown = ({ overlayClassName: cls, ...restProps }) => {

  const history = useHistory();
  return <div style={{ display: 'flex', alignItems: 'center' }}>
    {/* <Button onClick={onQuickStart} type='primary' icon={<PlayCircleOutlined />}>快速开店</Button>
    <Button onClick={onQuickActivity} style={{ marginLeft: '10px' }} icon={<FireOutlined />}>创建活动</Button> */}
     {/* <Avatar
        style={{
          backgroundColor: '#f56a00',
          verticalAlign: 'middle',
        }}
        size="large"
        gap='4'
      >
        U
      </Avatar> */}
    <Dropdown overlayClassName={classNames(styles.container, cls)} {...restProps} />
  </div>

};

export default HeaderDropdown;
