refactor: Change Position into enum (#48)
This commit is contained in:
@@ -23,7 +23,7 @@ const Handle = memo(
|
||||
({
|
||||
onConnect = _ => {},
|
||||
type = 'source',
|
||||
position = 'top',
|
||||
position = Position.Top,
|
||||
isValidConnection = () => true,
|
||||
...rest
|
||||
}: HandleProps) => {
|
||||
|
||||
Reference in New Issue
Block a user