-3

I want to implement code where the increment or decrement of a arrow happens when I have selected the arrow.

enter image description here

I want a replica of a design and implementation of code. these are the hebrew months in the screenshot that you can see.

In this example: the middle one is selected month,left one is the previous month of selected month and right hand side month is the next month of the selected month.

if user will click right hand side arrow (increment arrow) the "יוני" goes to middle and should be the selected month with bold text and the next month will come in the place of "יוני"

Again for left hand side arrow (decrement arrow) if user click the arrow the "אפריל" it will go outside and replace with "מאי" month.

Below are the hebrew months:

const hebrewMonthArray = [
    " ינוא",
    "פבר",
    "מרץ",
    "אפר׳",
    "מאי",
    "יוני",
    "יולי",
    "אוג׳",
    "ספט",
    "אוק'",
    "נוב׳",
    "דצמֲ",
  ];

I want the full implementation code in javascript with design as per the screenshot that I attached above.Thanks...

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
  • 1
    We will not write your code for you. We will only help you fix bugs in your code. If you want someone to write code for you, then hire an employee. – Emil Karlsson Mar 25 '22 at 10:28

1 Answers1

1

You can also use React Native package over there like react-native-calendars

and also you can check HERE which resolve your issue.

Talha Akbar
  • 462
  • 3
  • 15