How does the Calendar component panel of ant design switch to year to display details of all months and each day of each month?

something like this

Mar.03,2021
Menu