diff --git a/public/images/CalenderListGroup2495.svg b/public/images/CalenderListGroup2495.svg new file mode 100644 index 0000000..7f68189 --- /dev/null +++ b/public/images/CalenderListGroup2495.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/public/images/CalenderListGroup2496.svg b/public/images/CalenderListGroup2496.svg new file mode 100644 index 0000000..8ed885a --- /dev/null +++ b/public/images/CalenderListGroup2496.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/src/components/Datepicker/CalenderList/index.js b/src/components/Datepicker/CalenderList/index.js index 057dcb3..b58f8e6 100644 --- a/src/components/Datepicker/CalenderList/index.js +++ b/src/components/Datepicker/CalenderList/index.js @@ -3,18 +3,20 @@ import React from "react"; import Calender from "../Calender"; import Button from "../../ButtonDesign/Button/"; -const CalenderList = ({ buttons }) => { +const CalenderList = ({ buttons, leftArrow, rightArrow }) => { return ( -
-
+
+
{/* right side */}
{/* right side */} -
- خرداد +
+ right-arrow + خرداد + left-arrow
{/* left side */} -
+
{buttons.map((button, i) => (