diff --git a/README.md b/README.md index 43bcdfa..c88542f 100644 --- a/README.md +++ b/README.md @@ -129,8 +129,8 @@ Multi-Dot marking Use markingType = 'multi-dot' if you want to display more than one dot. Both the Calendar and CalendarList control support multiple dots by using 'dots' array in markedDates. 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. ```javascript -const vacation = {key:'vacation', color: 'red'}; -const massage = {key:'massage', color: 'blue'}; +const vacation = {key:'vacation', color: 'red', selectedDotColor: 'blue'}; +const massage = {key:'massage', color: 'blue', selectedDotColor: 'blue'}; const workout = {key:'workout', color: 'green'}; {leftArrow} - + {this.props.month.format(this.props.monthFormat)} {indicator} @@ -133,7 +133,7 @@ class CalendarHeader extends React.Component { {this.props.weekNumbers && } {weekDaysNames.map((day, idx) => ( - {day} + {day} ))} }