UNPKG

503 BJavaScriptView Raw
1import React from "react";
2/**
3 * Render the gridcell of a day in the calendar and handle the interaction and
4 * the focus with they day.
5 *
6 * If you need to just change the content of the day cell, consider swapping the
7 * `DayDate` component instead.
8 *
9 * @group Components
10 * @see https://daypicker.dev/guides/custom-components
11 */
12export function Day(props) {
13 const { day, modifiers, ...tdProps } = props;
14 return React.createElement("td", { ...tdProps });
15}
16//# sourceMappingURL=Day.js.map
\No newline at end of file