How to enable specific dates in calender?

I have an array of dates like [“07-10-2021”,“10/10/2021”].

I want to enable only these dates in the calender component, how can I achieve this ?