Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'DateRangePicker' cannot be used as a JSX component. #662

Open
faizanansari1 opened this issue Jan 22, 2025 · 0 comments
Open

'DateRangePicker' cannot be used as a JSX component. #662

faizanansari1 opened this issue Jan 22, 2025 · 0 comments

Comments

@faizanansari1
Copy link

I am using the 1.4.0 version i am facing the issue:
'DateRangePicker' cannot be used as a JSX component. Its type 'typeof DateRangePicker' is not a valid JSX element type. Types of construct signatures are incompatible. Type 'new (props: DateRangePickerProps) => DateRangePicker' is not assignable to type 'new (props: any, deprecatedLegacyContext?: any) => Component<any, any, any>'. Property 'refs' is missing in type 'Component<DateRangePickerProps, {}, any>' but required in type 'Component<any, any, any>'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant