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