Open postalservice14 opened 5 years ago
I would like the ability to pass a function as a prop that gets fired to determine if a date is disabled or not. I believe react-dates has this functionality as isDayBlocked
react-dates
isDayBlocked
Here is an example to disable all Sundays:
<AirbnbStyleDatepicker :is-day-blocked="(date) => moment(date).day() === 0" />
I would like the ability to pass a function as a prop that gets fired to determine if a date is disabled or not. I believe
react-dates
has this functionality asisDayBlocked
Here is an example to disable all Sundays: