-
Notifications
You must be signed in to change notification settings - Fork 373
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
Selected date styling #388
Comments
I am new to github so don't know how to edit this repo but what I have written can be achieved by editing line 162 in Day.js to computedSelectedDayStyle = [ |
Hello @jantrubka . Thanks for identifying the code change. To contribute to this project, fork the repo, commit your changes, and create a Pull Request. Modifying the styles behavior could be break users who expect the existing behavior. A new prop would be needed to control whether to merge custom styles to Today. For example, |
If you mean manually merging the styles in my App, that would be quite difficult for me since the style may be different for each date and it may be changed by the user in a way. |
Would it be possible for a selected day style to check whether it is also a custom date or today and merge those styles. It is applicable when for example selected day has a border and should keep a background color of today or custom date
The text was updated successfully, but these errors were encountered: