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 8bfe306 commit 7f4b854Copy full SHA for 7f4b854
packages/react-daterange-picker/src/DateRangePicker.tsx
@@ -331,7 +331,7 @@ export type DateRangePickerProps = {
331
} & CalendarProps &
332
Omit<EventProps, 'onChange' | 'onFocus'>;
333
334
-const DateRangePicker: React.FC<DateRangePickerProps> = function DateRangePicker(props) {
+export default function DateRangePicker(props: DateRangePickerProps) {
335
const {
336
autoFocus,
337
calendarAriaLabel,
@@ -682,6 +682,4 @@ const DateRangePicker: React.FC<DateRangePickerProps> = function DateRangePicker
682
{renderCalendar()}
683
</div>
684
);
685
-};
686
-
687
-export default DateRangePicker;
+}
0 commit comments