import React, {lazy, Suspense} from 'react'; import LoadingIndicator from '../loadingIndicator'; import Placeholder from '../placeholder'; import type {DatePickerProps} from './datePicker'; import type {DateRangePickerProps} from './dateRangePicker'; const LazyDatePicker = lazy(() => import('./datePicker')); const LazyDateRangePicker = lazy(() => import('./dateRangePicker')); const CalendarSuspenseWrapper: React.FC = ({children}) => { return ( } > {children} ); }; export const DatePicker = (props: DatePickerProps) => { return ( ); }; export const DateRangePicker = (props: DateRangePickerProps) => { return ( ); };