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

Conditionally style dates in a potential range selection. #6

Closed
mkartchner994 opened this issue Dec 19, 2017 · 1 comment
Closed

Conditionally style dates in a potential range selection. #6

mkartchner994 opened this issue Dec 19, 2017 · 1 comment

Comments

@mkartchner994
Copy link
Contributor

For date range, I think adding something like this would be helpful https://github.com/deseretdigital/dayzed/blob/master/src/dayzed.js#L89

It would give us the ability to add styling to dates in between a potential range selection like how react-dates does http://airbnb.io/react-dates

@mkartchner994
Copy link
Contributor Author

After adding the range example to the repo - #9 - I realized that adding logic to the src for dayzed wouldn't really make styling ranges that much easier compared to just handling it in the created <RangeDatepicker> like in the example.

Because of this, I think we can just point people to the Range example, and let the user handle the logic for it in their specific use case.

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

No branches or pull requests

1 participant