vue-airbnb-style-datepicker
vue-airbnb-style-datepicker copied to clipboard
Add isDayBlocked functionality from react-dates
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
Here is an example to disable all Sundays:
<AirbnbStyleDatepicker
:is-day-blocked="(date) => moment(date).day() === 0"
/>