Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing only months and year #23

Open
Akshay9882 opened this issue Feb 19, 2017 · 12 comments
Open

Showing only months and year #23

Akshay9882 opened this issue Feb 19, 2017 · 12 comments

Comments

@Akshay9882
Copy link

Akshay9882 commented Feb 19, 2017

Is it possible to modify this calendar to shown only months and year, i want to modify it to show only months and years like below view

<                                               2017                                                       >
   Jan   Feb    Mar   Apr   May    Jun   Jul   Aug    Sep    Oct   Nov    Dec
@peacechen
Copy link
Collaborator

peacechen commented Mar 2, 2017

Pull requests are welcome. How do you envision fitting the month picker view into a flat wide space that the current CalendarStrip lives in?

Edit: The updated layout looks reasonable. We could use flex-wrap on the months container to allow it to fit in either a flat wide space or a taller square-like space. There are some other features I plan to work on before getting to this. Would appreciate any code contributions you may have.

@peacechen
Copy link
Collaborator

@Akshay9882 This could be done by creating a CalendarMonth component similar to CalendarDay. Would you be interested in submitting a PR?

@Louis345
Copy link

@peacechen Are you still interested in having this enhancement? If so, I would gladly accept the challenge and submit a PR request.

Thanks.

@peacechen
Copy link
Collaborator

PR's are most definitely welcome. Thanks for your contributions, and feel free to follow up with any questions.

@tututututututu
Copy link

need+1

@BurnedChris
Copy link
Collaborator

@Louis345 Are you still interested in helping out with this PR?

@Louis345
Copy link

My apologies, been a bit busy. I will start working on it tomorrow. I'm free then.

@BurnedChris
Copy link
Collaborator

@Louis345 Looking forward to it! Should be a great option!

@acedigibits
Copy link

Any updates on this PR? Need this in my project

@mohitiquincesoft
Copy link

@Akshay9882 have you done this please send a solution if done.

@Akshay9882
Copy link
Author

@Akshay9882 This could be done by creating a CalendarMonth component similar to CalendarDay. Would you be interested in submitting a PR?

Yes sure

@Akshay9882
Copy link
Author

Akshay9882 commented Feb 22, 2020

@Akshay9882 have you done this please send a solution if done.

I created custom calendar using react-native elements in the below format.

                 2017
          JAN    FEB    MAR
          APR    MAY    JUN
          JUL    AUG    SEP
          OCT    NOV    DEC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants