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

Fix react-day-picker version when manually install Calendar component #6501

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

HichemTab-tech
Copy link

The Calendar component needs react-day-picker to work as expectedly. However, it was made to work only with a specific version, which is 8.10.1, since the react-day-picker released a newer version 9, which has a lot of breaking changes, therefore, the Calendar component won't work as expected, not to mention the TypeScript errors shown by IDE.

So we need to explicitly specify the version in the npm install command on the manual tab in the docs.

Expicitly define the version of react-date-picker
Copy link

vercel bot commented Jan 29, 2025

@HichemTab-tech is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant