react-native-calendars cara menandai hari yang dipilih
getSelectedDayEvents = date => {
let markedDates = {};
markedDates[date] = { selected: true, color: '#00B0BF', textColor: '#FFFFFF' };
let serviceDate = moment(date);
serviceDate = serviceDate.format("DD.MM.YYYY");
this.setState({
selectedDate: serviceDate,
markedDates: markedDates
});
};
Fantastic Fox