react-native-calendars 를 사용한다
import {Calendar} from 'react-native-calendars/src';
const markedDates = {
'2021-05-17': {
selected: true,
},
'2021-05-18': {
marked: true,
},
'2021-05-19': {
marked: true,
},
};
<Calendar
style={styles.calendar}
markedDates={markedDates}
theme={{
selectedDayBackgroundColor: '#009688',
arrowColor: '#009688',
dotColor: '#009688',
todayTextColor: '#009688',
}}
/>