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 5ed4f9d commit 2602f43Copy full SHA for 2602f43
packages/react-datetimerange-picker/src/DateTimeRangePicker.tsx
@@ -413,9 +413,7 @@ export type DateTimeRangePickerProps = {
413
ClockProps &
414
Omit<EventProps, 'onChange' | 'onFocus'>;
415
416
-const DateTimeRangePicker: React.FC<DateTimeRangePickerProps> = function DateTimeRangePicker(
417
- props,
418
-) {
+export default function DateTimeRangePicker(props: DateTimeRangePickerProps) {
419
const {
420
amPmAriaLabel,
421
autoFocus,
@@ -950,6 +948,4 @@ const DateTimeRangePicker: React.FC<DateTimeRangePickerProps> = function DateTim
950
948
{renderClock()}
951
949
</div>
952
);
953
-};
954
-
955
-export default DateTimeRangePicker;
+}
0 commit comments