UNPKG

react-dates-rtl

Version:

Based on react-dates by airbnb [with RTL support]

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)); }