Closed rishabhgist closed 1 year ago
Hey there thanks for this, looks like a simple bug in the example :) If you're copying the example directly just destructure maxConnections
from the props first:
const CustomHandle = ({ maxConnections, ...props }) => {
...
I'll fix the example now.
Describe the Bug
While I am trying set maxConnections Prop for a node I am getting react error by using the template on - https://reactflow.dev/docs/examples/nodes/connection-limit/
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
Can anyone help me on this issue ?
Screenshots or Videos
No response
Platform
Additional context
No response