Skip to content

Commit 82ac378

Browse files
author
Tautvilas Mečinskas
authored
Update README.md
1 parent 3bf23da commit 82ac378

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ LocaleConfig.defaultLocale = 'fr';
116116
<Calendar
117117
// Collection of dates that have to be colored in a special way. Default = {}
118118
markedDates={
119-
{'2012-05-22': [{startingDay: true, color: 'green'}],
120-
'2012-05-23': [{endingDay: true, color: 'green'}],
119+
{'2012-05-20': [{textColor: 'green'}],
120+
'2012-05-22': [{startingDay: true, color: 'green'}],
121+
'2012-05-23': [{endingDay: true, color: 'green', textColor: 'gray'}],
121122
'2012-05-04': [{startingDay: true, color: 'green'}, {endingDay: true, color: 'green'}]
122123
}}
123124
// Date marking style [simple/interactive]. Default = 'simple'

0 commit comments

Comments
 (0)