import { ReactNode } from "react";

export default function HeaderButton({ title, icon }: { title: string, icon?: ReactNode }) {
  return (
    <button className="flex rounded bg-neutral-800 hover:bg-neutral-700 px-2 py-1 gap-2 items-center cursor-pointer">
      {title}
      {icon}
    </button>
  );
}
