We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d67f2e commit a25699dCopy full SHA for a25699d
1 file changed
src/components/common/Form/DatePicker.tsx
@@ -4,6 +4,7 @@ import type { RangeType } from 'rsuite/DateRangePicker';
4
import { dayjs } from '@/lib/dayjs';
5
import { forwardRef } from 'react';
6
import { ReactNode } from 'react';
7
+import { LegacyRef } from 'react';
8
9
type Props = DatePickerProps;
10
@@ -40,7 +41,7 @@ const predefinedRanges = [
40
41
},
42
] as RangeType<Date>[];
43
-export const DatePicker = forwardRef<ReactNode, Props>((props, ref) => {
44
+export const DatePicker = forwardRef<any, Props>((props, ref) => {
45
return (
46
<AntDatePicker
47
// @ts-ignore
0 commit comments