Somebody please add this line of code
renderArrow={this.props.renderArrow === undefined ? undefined : this.props.renderArrow}
to file
https://github.com/wix/react-native-calendars/blob/master/src/calendar-list/item.js
at line number 27
Thank You Very Much!
Actually please add these lines
renderArrow={this.props.renderArrow === undefined ? undefined : this.props.renderArrow}
onPressArrowLeft={this.props.onPressArrowLeft === undefined ? undefined : this.props.onPressArrowLeft}
onPressArrowRight={this.props.onPressArrowRight === undefined ? undefined : this.props.onPressArrowRight}
This should do the trick and allow full customization of the left and right arrows in the calendar list.
Many thanks to the developers for making this code well organized and easy to read.
Cheers!
Hello there I create a PR https://github.com/wix/react-native-calendars/pull/609 for this issue.
@Inbal-Tish This issue can be closed.
How can I add arrows to Calendar List
@g00dnatur3
Now you can use the props renderArrow={true}.
Thanks @zagoa I fixed it by passing hideArrows={false}
Now you can use renderArrow with syntax as below:
renderArrow={(direction) => direction === 'left' ? (
Most helpful comment
Actually please add these lines
This should do the trick and allow full customization of the left and right arrows in the calendar list.
Many thanks to the developers for making this code well organized and easy to read.
Cheers!