()
| 83 | } |
| 84 | |
| 85 | render() { |
| 86 | return ( |
| 87 | <View> |
| 88 | <CalendarStrip |
| 89 | scrollable |
| 90 | calendarAnimation={{type: 'sequence', duration: 30}} |
| 91 | daySelectionAnimation={{type: 'background', duration: 300, highlightColor: '#9265DC'}} |
| 92 | style={{height:200, paddingTop: 20, paddingBottom: 10}} |
| 93 | calendarHeaderStyle={{color: 'white'}} |
| 94 | calendarColor={'#3343CE'} |
| 95 | dateNumberStyle={{color: 'white'}} |
| 96 | dateNameStyle={{color: 'white'}} |
| 97 | iconContainer={{flex: 0.1}} |
| 98 | customDatesStyles={this.state.customDatesStyles} |
| 99 | highlightDateNameStyle={{color: 'white'}} |
| 100 | highlightDateNumberStyle={{color: 'yellow'}} |
| 101 | highlightDateContainerStyle={{backgroundColor: 'black'}} |
| 102 | markedDates={this.state.markedDates} |
| 103 | datesBlacklist={this.datesBlacklistFunc} |
| 104 | selectedDate={this.state.selectedDate} |
| 105 | onDateSelected={this.onDateSelected} |
| 106 | useIsoWeekday={false} |
| 107 | /> |
| 108 | |
| 109 | <Text style={{fontSize: 24}}>Selected Date: {this.state.formattedDate}</Text> |
| 110 | |
| 111 | <View style={{display: 'flex', flexDirection: 'row', justifyContent: 'space-around', padding: 40}}> |
| 112 | <Button |
| 113 | onPress={this.setSelectedDatePrevWeek} |
| 114 | title="Select previous week" |
| 115 | color="#841584" |
| 116 | /> |
nothing calls this directly
no outgoing calls
no test coverage detected