날짜 표시 ( 중복가능 )

Column
Tags
date
multi
 

한 날짜에 점 여러개 기록하기

Multi-Dot marking
notion image
Use markingType={'multi-dot'} if you want to display more than one dot. Both the <Calendar/> and <CalendarList/> support multiple dots by using dots array in markedDates prop. The property color is mandatory while key and selectedColor are optional. If key is omitted then the array index is used as key. If selectedColor is omitted then color will be used for selected dates.
 
const vacation = {key:'vacation', color: 'red', selectedDotColor: 'blue'}; const massage = {key:'massage', color: 'blue', selectedDotColor: 'blue'}; const workout = {key:'workout', color: 'green'}; <Calendar markedDates={{ '2017-10-25': {dots: [vacation, massage, workout], selected: true, selectedColor: 'red'}, '2017-10-26': {dots: [massage, workout], disabled: true} }} markingType={'multi-dot'} />