- {/* Add a screen reader only description of the entire visible range rather than
- * a separate heading above each month grid. This is placed first in the DOM order
- * so that it is the first thing a touch screen reader user encounters.
- * In addition, VoiceOver on iOS does not announce the aria-label of the grid
- * elements, so the aria-label of the Calendar is included here as well. */}
-
- {calendarProps['aria-label']}
-
-
-
{titles}
-
{calendars}
-
- {/* For touch screen readers, add a visually hidden next button after the month grid
- * so it's easy to navigate after reaching the end without going all the way
- * back to the start of the month. */}
-
-
-
+ )}
+ >
+ {children}
+
);
}
-function useCalendarStyles