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

Add a 'pastDayButton' customStyle #132

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

BricePissard
Copy link
Contributor

No description provided.

@christopherdro
Copy link
Owner

@BricePissard Thanks for the PR but this is conflicting with a commit here that i've already merged.

I think you just need to drop this commit fb9ca18

Brice Pissard added 3 commits May 13, 2017 09:19
# Conflicts:
#	README.md
#	components/Calendar.js
#	components/Day.js
#	images/weekendDayButton.png
- merge with your last commit.
- add ‘selectedPastDayCircle’ custom style attribute
— add image + README explaination
- add activeOpacity={1} (<TouchableOpacity…>) to prevent lighting
effect onPress.
- add a Math.ceil on day width calculation to prevent the little white
ray between wednesday and thurday
# Conflicts:
#	components/Calendar.js
#	components/Day.js
#	components/styles.js
@BricePissard
Copy link
Contributor Author

Sorry for the delay correcting the merging issue.
The current commit allows to set two new custom styles for past dates, letting user choosing whether the rounded selected date button should appears differently.

Ex:

screen shot 2017-12-12 at 12 29 17 pm
screen shot 2017-12-12 at 12 33 09 pm

<Calendar
  ...
   customStyle = {{
      ...
      pastDayButton: {...}
      selectedPastDayCircle: {...}
   }}
/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants