-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
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'.
React v 17.0.2, Typescript 4.4.3
Metadata
Metadata
Assignees
Labels
No labels