We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c96e07 commit a6d22f8Copy full SHA for a6d22f8
packages/react-datetimerange-picker/src/DateTimeRangePicker.tsx
@@ -415,9 +415,7 @@ export type DateTimeRangePickerProps = {
415
ClockProps &
416
Omit<EventProps, 'onChange' | 'onFocus'>;
417
418
-const DateTimeRangePicker: React.FC<DateTimeRangePickerProps> = function DateTimeRangePicker(
419
- props,
420
-) {
+export default function DateTimeRangePicker(props: DateTimeRangePickerProps) {
421
const {
422
amPmAriaLabel,
423
autoFocus,
@@ -952,6 +950,4 @@ const DateTimeRangePicker: React.FC<DateTimeRangePickerProps> = function DateTim
952
950
{renderClock()}
953
951
</div>
954
);
955
-};
956
-
957
-export default DateTimeRangePicker;
+}
0 commit comments