UNPKG

react-dates

Version:

A responsive and accessible date range picker component built with React

6 lines (4 loc) 161 B
const CALENDAR_MONTH_PADDING = 9; export default function getCalendarMonthWidth(daySize) { return (7 * (daySize + 1)) + (2 * (CALENDAR_MONTH_PADDING + 1)); }