UNPKG

react-dates

Version:

A responsive and accessible date range picker component built with React

5 lines (4 loc) 154 B
var CALENDAR_MONTH_PADDING = 9; export default function getCalendarMonthWidth(daySize) { return 7 * (daySize + 1) + 2 * (CALENDAR_MONTH_PADDING + 1); }