diff --git a/packages/react-timerange-picker/src/TimeRangePicker.tsx b/packages/react-timerange-picker/src/TimeRangePicker.tsx index 23d3d7a..1201eb2 100644 --- a/packages/react-timerange-picker/src/TimeRangePicker.tsx +++ b/packages/react-timerange-picker/src/TimeRangePicker.tsx @@ -332,7 +332,7 @@ export type TimeRangePickerProps = { } & ClockProps & Omit; -const TimeRangePicker: React.FC = function TimeRangePicker(props) { +export default function TimeRangePicker(props: TimeRangePickerProps) { const { amPmAriaLabel, autoFocus, @@ -664,6 +664,4 @@ const TimeRangePicker: React.FC = function TimeRangePicker {renderClock()} ); -}; - -export default TimeRangePicker; +}