UNPKG

765 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.Day = Day;
7const react_1 = __importDefault(require("react"));
8/**
9 * Render the gridcell of a day in the calendar and handle the interaction and
10 * the focus with they day.
11 *
12 * If you need to just change the content of the day cell, consider swapping the
13 * `DayDate` component instead.
14 *
15 * @group Components
16 * @see https://daypicker.dev/guides/custom-components
17 */
18function Day(props) {
19 const { day, modifiers, ...tdProps } = props;
20 return react_1.default.createElement("td", { ...tdProps });
21}
22//# sourceMappingURL=Day.js.map
\No newline at end of file