@@ -32,6 +32,7 @@ const propTypes = {
3232 minimumNights : PropTypes . number ,
3333 isOutsideRange : PropTypes . func ,
3434 isDayBlocked : PropTypes . func ,
35+ isDayHighlighted : PropTypes . func ,
3536
3637 // DayPicker props
3738 enableOutsideDays : PropTypes . bool ,
@@ -70,6 +71,7 @@ const defaultProps = {
7071 minimumNights : 1 ,
7172 isOutsideRange ( ) { } ,
7273 isDayBlocked ( ) { } ,
74+ isDayHighlighted ( ) { } ,
7375
7476 // DayPicker props
7577 enableOutsideDays : false ,
@@ -226,6 +228,7 @@ export default class DayPickerRangeController extends React.Component {
226228 render ( ) {
227229 const {
228230 isDayBlocked,
231+ isDayHighlighted,
229232 isOutsideRange,
230233 numberOfMonths,
231234 orientation,
@@ -246,6 +249,7 @@ export default class DayPickerRangeController extends React.Component {
246249 'blocked-calendar' : day => isDayBlocked ( day ) ,
247250 'blocked-out-of-range' : day => isOutsideRange ( day ) ,
248251 'blocked-minimum-nights' : day => this . doesNotMeetMinimumNights ( day ) ,
252+ 'highlighted-calendar' : day => isDayHighlighted ( day ) ,
249253 valid : day => ! this . isBlocked ( day ) ,
250254 // before anything has been set or after both are set
251255 hovered : day => this . isHovered ( day ) ,
0 commit comments