Skip to content

Commit a25699d

Browse files
committed
Update DatePicker.tsx
1 parent 3d67f2e commit a25699d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/common/Form/DatePicker.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import type { RangeType } from 'rsuite/DateRangePicker';
44
import { dayjs } from '@/lib/dayjs';
55
import { forwardRef } from 'react';
66
import { ReactNode } from 'react';
7+
import { LegacyRef } from 'react';
78

89
type Props = DatePickerProps;
910

@@ -40,7 +41,7 @@ const predefinedRanges = [
4041
},
4142
] as RangeType<Date>[];
4243

43-
export const DatePicker = forwardRef<ReactNode, Props>((props, ref) => {
44+
export const DatePicker = forwardRef<any, Props>((props, ref) => {
4445
return (
4546
<AntDatePicker
4647
// @ts-ignore

0 commit comments

Comments
 (0)