import React from "react";
import Calender from "../Calender";
import Button from "../../ButtonDesign/Button/";
const CalenderList = ({ buttons, leftArrow, rightArrow }) => {
return (
{/* right side */}
{/* right side */}
خرداد
{/* left side */}
{buttons.map((button, i) => (
))}
{/* ? calender list */}
);
};
export default CalenderList;
CalenderList.defaultProps = {
leftArrow: "images/CalenderListGroup2496.svg",
rightArrow: "images/CalenderListGroup2495.svg",
buttons: [
{
title: "روز",
className: "rounded-tr-lg rounded-br-lg",
},
{
title: "هفته",
className: "",
},
{
title: "ماه",
className: "",
},
{
title: "سال",
className: "rounded-tl-lg rounded-bl-lg",
},
],
};