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.

React v19 Support #661

@marisa-barradas

Description

@marisa-barradas

Can this package be updated to be compatible with React v19 please?

Error:
'DateRange' cannot be used as a JSX component.
Its type 'typeof DateRange' is not a valid JSX element type.
Type 'typeof DateRange' is not assignable to type 'new (props: any) => Component<any, any, any>'.
Construct signature return types 'DateRange' and 'Component<any, any, any>' are incompatible.
The types returned by 'render()' are incompatible between these types.
Type 'import("d:/Repos/TourTailors/tourtailors.apps/node_modules/@types/hoist-non-react-statics/node_modules/@types/react/index").ReactNode' is not assignable to type 'React.ReactNode'.
Type 'ReactElement<any, string | JSXElementConstructor>' is not assignable to type 'ReactNode'.
Property 'children' is missing in type 'ReactElement<any, string | JSXElementConstructor>' but required in type 'ReactPortal'.ts(2786)
index.d.ts(387, 9): 'children' is declared here.

Environment

Package Version: 2.0.1
React version: 19.0.0
Node version: 20.10.0
Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions