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

Possibility to add style to the whole date container component #259

Closed
dezse97 opened this issue Jan 15, 2021 · 3 comments
Closed

Possibility to add style to the whole date container component #259

dezse97 opened this issue Jan 15, 2021 · 3 comments

Comments

@dezse97
Copy link
Contributor

dezse97 commented Jan 15, 2021

Currently, we can add custom styles one by one for the name and the number. But what if we want to put the whole date container (name and number) in a circle or something like this.

@peacechen
Copy link
Collaborator

Try dateContainerStyle in customDatesStyles
https://github.com/BugiDev/react-native-calendar-strip#customdatesstyles

@dezse97
Copy link
Contributor Author

dezse97 commented Jan 16, 2021

Yes, it is an alternative way, but what if I would like to add a container style to the selected date?

@peacechen
Copy link
Collaborator

A new prop would need to be added e.g selectedDateContainerStyle. Please submit a PR with that added prop.

peacechen pushed a commit that referenced this issue Jan 18, 2021
Also fix weekend styling (was only applying if selected).

Co-authored-by: Döngölő Zsolt <[email protected]>
@dezse97 dezse97 closed this as completed Jan 20, 2021
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

2 participants