@@ -122,21 +122,23 @@ function getTheme() {
122122 // arrows
123123 arrowColor : 'black' ,
124124 arrowStyle : { padding : 0 } ,
125+ // knob
126+ expandableKnobColor : themeColor ,
125127 // month
126128 monthTextColor : 'black' ,
127129 textMonthFontSize : 16 ,
128130 textMonthFontFamily : 'HelveticaNeue' ,
129- textMonthFontWeight : 'bold' ,
131+ textMonthFontWeight : 'bold' as 'bold' ,
130132 // day names
131133 textSectionTitleColor : 'black' ,
132134 textDayHeaderFontSize : 12 ,
133135 textDayHeaderFontFamily : 'HelveticaNeue' ,
134- textDayHeaderFontWeight : 'normal' ,
136+ textDayHeaderFontWeight : 'normal' as 'normal' ,
135137 // dates
136138 dayTextColor : themeColor ,
137139 textDayFontSize : 18 ,
138140 textDayFontFamily : 'HelveticaNeue' ,
139- textDayFontWeight : '500' ,
141+ textDayFontWeight : '500' as '500' ,
140142 textDayStyle : { marginTop : Platform . OS === 'android' ? 2 : 4 } ,
141143 // selected date
142144 selectedDayBackgroundColor : themeColor ,
@@ -186,7 +188,7 @@ export default class ExpandableCalendarScreen extends Component<Props> {
186188 onMonthChange = { this . onMonthChange }
187189 showTodayButton
188190 disabledOpacity = { 0.6 }
189- // theme={this.todayBtnTheme}
191+ theme = { this . todayBtnTheme }
190192 // todayBottomMargin={16}
191193 >
192194 { this . props . weekView ? (
@@ -202,7 +204,7 @@ export default class ExpandableCalendarScreen extends Component<Props> {
202204 // calendarStyle={styles.calendar}
203205 // headerStyle={styles.calendar} // for horizontal only
204206 // disableWeekScroll
205- // theme={this.theme}
207+ theme = { this . theme }
206208 // disableAllTouchEventsForDisabledDays
207209 firstDay = { 1 }
208210 markedDates = { this . marked }
0 commit comments