Skip to content

Commit

Permalink
Merge pull request #529 from badsyntax/patch-1
Browse files Browse the repository at this point in the history
Update adding-interactivity.mdx
  • Loading branch information
moklick authored Oct 8, 2024
2 parents 6f18811 + 1cbeb4e commit 8e19dcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const onEdgesChange = useCallback(
);
```

When you drag or select a node, the `onNodeChange` handler gets called. With help of the `applyNodeChanges` function you can then apply those changes to your current node state. Putting everything together, it should look like this:
When you drag or select a node, the `onNodesChange` handler gets called. With help of the `applyNodeChanges` function you can then apply those changes to your current node state. Putting everything together, it should look like this:

<ExampleViewer
codePath="api-flows/MakeItInteractive1"
Expand Down

0 comments on commit 8e19dcc

Please sign in to comment.