Document how to use BuiltInEdge
type, so that pathOptions
works properly
#485
Labels
react-docs
Issues belonging to the reactflow website
svelte-docs
Issues belonging to the svelteflow website
Describe the Bug
In v11 the typing for the
Edge
type allowspathOptions
for the default edge-types (bezier, step and smoothstep) while in v12pathOptions
is not recognized anymore and will cause TypeScript to report an error for it even though the options are still taken and passed to the edge component.Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Set up a basic v12 example and use sth like this
Expected behavior
pathOptions
should be a valid property on the default edge types previously mentioned.Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: