air-datepicker
air-datepicker copied to clipboard
How can I make weekends inactive
Good afternoon. I saw in the documentation that you can specify that there are not active days off. I saw that it is tedious to transfer an array to weekends. I'm using react and passing weekends={[6, 0]} to the parent component. But in this case it doesn't work for me. Tell me what I did wrong?
@netronic-dev should work fine, do you have any live example?