From e69aa60806414d4e6939e5e6f64df54bfc3f0043 Mon Sep 17 00:00:00 2001 From: Reza Date: Sun, 25 Mar 2018 20:52:08 +0430 Subject: [PATCH] fixed bugs --- README.md | 4 ++-- package.json | 12 +++++++----- src/calendar/header/index.js | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) 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} ))} }