Hello there, I'm encountering the following error when trying to use the component within my .tsx file:
'LineTo' cannot be used as a JSX component.
Its instance type 'LineTo<LineToProps>' is not a valid JSX element.
The types returned by 'render()' are incompatible between these types.
Type 'React.ReactNode' is not assignable to type 'import("/myLocalPath").ReactNode'.
Type '{}' is not assignable to type 'ReactNode'.
Hello there, I'm encountering the following error when trying to use the component within my .tsx file:
React v 17.0.2, Typescript 4.4.3