From 8a36e3a7114cdcb302ffdec4136d42a32832ce1e Mon Sep 17 00:00:00 2001 From: mahdi Date: Sat, 11 Jun 2022 10:56:04 +0430 Subject: [PATCH] update src/components/Datepicker/CalenderList/index.js --- public/images/CalenderListGroup2495.svg | 11 +++++++++++ public/images/CalenderListGroup2496.svg | 11 +++++++++++ src/components/Datepicker/CalenderList/index.js | 17 +++++++++++------ 3 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 public/images/CalenderListGroup2495.svg create mode 100644 public/images/CalenderListGroup2496.svg 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) => (