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

React v19 Support #661

Open
marisa-barradas opened this issue Dec 16, 2024 · 0 comments
Open

React v19 Support #661

marisa-barradas opened this issue Dec 16, 2024 · 0 comments

Comments

@marisa-barradas
Copy link

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

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