import { Button } from "components/shared/Button/Button";
import more from "images/icons/More.svg";


export const AdditionalButton: React.FC<any> = ({ active, onClick }) => {
  const button = {
    icon: more,
    inactive: "",
    active: "",
    type: "",
  };
  return (
    <div
      style={active ? { background: "#2E3038" } : { background: "transparent" }}
      className="toolbar-button-area"
      onClick={() => onClick()}
    >
      <Button button={button}></Button>
    </div>
  );
};
