forked from sagnik/Project_Velocity
12 lines
325 B
JavaScript
12 lines
325 B
JavaScript
import React from "react";
|
|
/**
|
|
* Render the caption for a month in the calendar.
|
|
*
|
|
* @group Components
|
|
* @see https://daypicker.dev/guides/custom-components
|
|
*/
|
|
export function MonthCaption(props) {
|
|
const { calendarMonth, displayIndex, ...divProps } = props;
|
|
return React.createElement("div", { ...divProps });
|
|
}
|