import { Button } from "@mui/material";
import Image from "next/image";

function PrevIconDatePicker({ prevIconDatePicker }) {
  return (
    <Button
      className="!min-w-0 !p-0 !rounded-full !rotate-180"
      ref={prevIconDatePicker}
      onClick={(e) => e.preventDefault()}
    >
      <Image
        src="/assets/icons/arrow-right.svg"
        className="icon-left-datepicker"
        height={24}
        width={24}
      />
    </Button>
  );
}

export default PrevIconDatePicker;
