@@ -4,13 +4,13 @@ import React, { forwardRef, useCallback, useImperativeHandle, useState } from 'r
44import PropTypes from 'prop-types' ;
55import clsx from 'clsx' ;
66
7- import Navigation from './Calendar/Navigation' ;
8- import CenturyView from './CenturyView' ;
9- import DecadeView from './DecadeView' ;
10- import YearView from './YearView' ;
11- import MonthView from './MonthView' ;
7+ import Navigation from './Calendar/Navigation.js ' ;
8+ import CenturyView from './CenturyView.js ' ;
9+ import DecadeView from './DecadeView.js ' ;
10+ import YearView from './YearView.js ' ;
11+ import MonthView from './MonthView.js ' ;
1212
13- import { getBegin , getBeginNext , getEnd , getValueRange } from './shared/dates' ;
13+ import { getBegin , getBeginNext , getEnd , getValueRange } from './shared/dates.js ' ;
1414import {
1515 isCalendarType ,
1616 isClassName ,
@@ -19,8 +19,8 @@ import {
1919 isRef ,
2020 isView ,
2121 rangeOf ,
22- } from './shared/propTypes' ;
23- import { between } from './shared/utils' ;
22+ } from './shared/propTypes.js ' ;
23+ import { between } from './shared/utils.js ' ;
2424
2525import type {
2626 Action ,
@@ -39,7 +39,7 @@ import type {
3939 TileDisabledFunc ,
4040 Value ,
4141 View ,
42- } from './shared/types' ;
42+ } from './shared/types.js ' ;
4343
4444import type {
4545 formatDay as defaultFormatDay ,
@@ -49,7 +49,7 @@ import type {
4949 formatShortWeekday as defaultFormatShortWeekday ,
5050 formatWeekday as defaultFormatWeekday ,
5151 formatYear as defaultFormatYear ,
52- } from './shared/dateFormatter' ;
52+ } from './shared/dateFormatter.js ' ;
5353
5454const baseClassName = 'react-calendar' ;
5555const allViews = [ 'century' , 'decade' , 'year' , 'month' ] as const ;
0 commit comments