refactor: Change Position into enum (#48)

This commit is contained in:
AndyLnd
2019-10-22 16:37:47 +02:00
committed by Moritz
parent 59caff6505
commit 8ca5c0f84b
7 changed files with 84 additions and 125 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ const Handle = memo(
({
onConnect = _ => {},
type = 'source',
position = 'top',
position = Position.Top,
isValidConnection = () => true,
...rest
}: HandleProps) => {