@@ -23,18 +23,18 @@ export default class AgendaScreen extends Component {
2323 renderItem = { this . renderItem . bind ( this ) }
2424 renderEmptyDate = { this . renderEmptyDate . bind ( this ) }
2525 rowHasChanged = { this . rowHasChanged . bind ( this ) }
26- //markingType={'interactive '}
27- //markedDates={{
28- // '2017-05-08': [{textColor: '#666'}],
29- // '2017-05-09': [{textColor: '#666'}],
30- // '2017-05-14': [{startingDay: true, color: 'blue'}, {endingDay: true, color: 'blue'}],
31- // '2017-05-21': [{startingDay: true, color: 'blue'}],
32- // '2017-05-22': [{endingDay: true, color: 'gray'}],
33- // '2017-05-24': [{startingDay: true, color: 'gray'}],
34- // '2017-05-25': [{color: 'gray'}],
35- // '2017-05-26': [{endingDay: true, color: 'gray'}]}}
36- // monthFormat={'yyyy'}
37- // theme={{calendarBackground: 'red', agendaKnobColor: 'green'}}
26+ // markingType={'period '}
27+ // markedDates={{
28+ // '2017-05-08': {periods: [{textColor: '#666'}]} ,
29+ // '2017-05-09': {periods: [{textColor: '#666'}]} ,
30+ // '2017-05-14': {periods: [{startingDay: true, color: 'blue'}, {endingDay: true, color: 'blue'}]} ,
31+ // '2017-05-21': {periods: [{startingDay: true, color: 'blue'}]} ,
32+ // '2017-05-22': {periods: [{endingDay: true, color: 'gray'}]} ,
33+ // '2017-05-24': {periods: [{startingDay: true, color: 'gray'}]} ,
34+ // '2017-05-25': {periods: [{color: 'gray'}]} ,
35+ // '2017-05-26': {periods: [{endingDay: true, color: 'gray'}]} }}
36+ // monthFormat={'yyyy'}
37+ // theme={{calendarBackground: 'red', agendaKnobColor: 'green'}}
3838 //renderDay={(day, item) => (<Text>{day ? day.day: 'item'}</Text>)}
3939 />
4040 ) ;
0 commit comments