showing results for - "react native calendars how to mark selected day"
Liam
17 Aug 2016
1getSelectedDayEvents = date => {
2    let markedDates = {};
3    markedDates[date] = { selected: true, color: '#00B0BF', textColor: '#FFFFFF' };
4    let serviceDate = moment(date);
5    serviceDate = serviceDate.format("DD.MM.YYYY");
6    this.setState({
7        selectedDate: serviceDate,
8        markedDates: markedDates
9    });
10};
11