react-day-picker
Version:
Customizable Date Picker for React
22 lines • 767 B
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Day = Day;
const react_1 = __importDefault(require("react"));
/**
* Render the gridcell of a day in the calendar and handle the interaction and
* the focus with they day.
*
* If you need to just change the content of the day cell, consider swapping the
* `DayButton` component instead.
*
* @group Components
* @see https://daypicker.dev/guides/custom-components
*/
function Day(props) {
const { day, modifiers, ...tdProps } = props;
return react_1.default.createElement("td", { ...tdProps });
}
//# sourceMappingURL=Day.js.map
;