import { Dropdown } from "antd";
import React from "react";
import classNames from "classnames";
import styles from "./index.less";

const HeaderDropdown = ({ overlayClassName: cls, ...restProps }) => (
  <Dropdown
    overlayClassName={classNames(styles.container, cls)}
    zIndex={9999999}
    placement="bottomRight"
    {...restProps}
  />
);

export default HeaderDropdown;
