docs: update connection-radius example

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-02-01 22:57:05 +01:00
committed by Braks
parent e0fbefef8f
commit 539b85dc59
8 changed files with 14 additions and 13 deletions
@@ -0,0 +1,9 @@
# Connection Radius
This examples shows you how to use the `connectionRadius` prop.
This prop allows you to pass a number which will be used to determine the radius at which a connection line will snap to the nearest handle.
In addition, we create a custom connection line which will color the handles (you can omit this and just use `connectionRadius`).
<div class="mt-6">
<Repl example="snappable"></Repl>
</div>
@@ -1,8 +0,0 @@
# Snap To Handle
In this example we will create a custom connection line
that snaps to the nearest handle when the connection is dropped within distance of a handle.
<div class="mt-6">
<Repl example="snappable"></Repl>
</div>