Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.
This repository was archived by the owner on May 19, 2025. It is now read-only.

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

Description

@faizanansari1

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>'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions