// packages/flui/src/DatePicker/DateRangePicker.tsx
- import 'react-dates/initialize';
+ import 'react-dates/lib/initialize.js';
- import {
- FocusedInputShape,
- DayPickerRangeControllerShape,
- DayPickerRangeController,
- } from 'react-dates';
+ import DayPickerRangeController from 'react-dates/lib/components/DayPickerRangeController.js';
+ type FocusedInputShape = import('react-dates').FocusedInputShape;
+ type DayPickerRangeControllerShape = import('react-dates').DayPickerRangeControllerShape;
+ type DayPickerRangeController = import('react-dates').DayPickerRangeController;