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

Enhance configs Prop in RangeDatepicker to Include monthsToDisplay #66

Merged
merged 4 commits into from
Sep 21, 2023

Conversation

nt9142
Copy link
Contributor

@nt9142 nt9142 commented Sep 19, 2023

This PR introduces a new enhancement to the RangeDatepicker component. With this update, users can now specify the number of months they want to display in the datepicker.

This enhancement allows for greater flexibility when integrating the datepicker into various user interfaces, especially where space or user experience considerations might dictate displaying a different number of months.

Please review and let me know if any further changes are required.

@nt9142 nt9142 changed the title Add External Prop for monthsToDisplay in RangeDatepicker Enhance configs Prop in RangeDatepicker to Include monthsToDisplay Sep 19, 2023
@aboveyunhai
Copy link
Owner

@nt9142 I got the idea what you are trying to do, there is a typescript error from the PR if you check it locally. Do you want me to fix it for you in this pr or handle it by yourself. And you need to export the props to the datepicker configs level.

@nt9142
Copy link
Contributor Author

nt9142 commented Sep 20, 2023

@aboveyunhai oops, my bad! I made sure the props are exported correctly. Can you give it another look? Thanks!

@aboveyunhai
Copy link
Owner

@nt9142 lgtm, I also fixed some of my own typescript mistakes (since some of them misguide your code) if you're interested in taking a look.

@aboveyunhai aboveyunhai merged commit 591daf6 into aboveyunhai:main Sep 21, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants