import UpdateList from "@/components/icons/UpdateList";
import { Button } from "@mui/material";

function UpdateBtn({ updateData }) {
  return (
    <Button
      variant="outlined"
      onClick={updateData}
      className="!border-[#5559CE] !border-[2px] !flex !items-center !justify-center !gap-2 !text-[14px] !font-medium
      !py-[6px] md:!py-2 lg:!py-[9px] !px-[16px] sm:!px-[23px] md:!px-[29px] lg:!px-[36px] !mr-0 md:!mr-4"
    >
      <UpdateList />
      آپدیت کردن
    </Button>
  );
}

export default UpdateBtn;
