react-native-calendar icon indicating copy to clipboard operation
react-native-calendar copied to clipboard

Add a 'pastDayButton' customStyle

Open BricePissard opened this issue 7 years ago • 2 comments

BricePissard avatar May 08 '17 22:05 BricePissard

@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 fb9ca18b3add1a023e04f69d4cf9b3d860373ea3

christopherdro avatar May 12 '17 22:05 christopherdro

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: {...}
   }}
/>

BricePissard avatar Dec 12 '17 11:12 BricePissard