diff --git a/packages/react-datetimerange-picker/src/DateTimeRangePicker.tsx b/packages/react-datetimerange-picker/src/DateTimeRangePicker.tsx index c6814cb..09d7419 100644 --- a/packages/react-datetimerange-picker/src/DateTimeRangePicker.tsx +++ b/packages/react-datetimerange-picker/src/DateTimeRangePicker.tsx @@ -415,9 +415,7 @@ export type DateTimeRangePickerProps = { ClockProps & Omit; -const DateTimeRangePicker: React.FC = function DateTimeRangePicker( - props, -) { +export default function DateTimeRangePicker(props: DateTimeRangePickerProps) { const { amPmAriaLabel, autoFocus, @@ -952,6 +950,4 @@ const DateTimeRangePicker: React.FC = function DateTim {renderClock()} ); -}; - -export default DateTimeRangePicker; +}