UNPKG

644 BJavaScriptView Raw
1"use strict";
2var __importDefault = (this && this.__importDefault) || function (mod) {
3 return (mod && mod.__esModule) ? mod : { "default": mod };
4};
5Object.defineProperty(exports, "__esModule", { value: true });
6exports.MonthCaption = MonthCaption;
7const react_1 = __importDefault(require("react"));
8/**
9 * Render the caption of a month in the calendar.
10 *
11 * @group Components
12 * @see https://daypicker.dev/guides/custom-components
13 */
14function MonthCaption(props) {
15 const { calendarMonth, displayIndex, ...divProps } = props;
16 return react_1.default.createElement("div", { ...divProps });
17}
18//# sourceMappingURL=MonthCaption.js.map
\No newline at end of file