docs: update connection-radius example
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user