-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...

1
  • 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. Commented Mar 25, 2022 at 10:28

1 Answer 1

1

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

and also you can check HERE which resolve your issue.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.