Handle Properties
* id is used in an example * isValidConnection has to take the connection argument to validate
This commit is contained in:
@@ -16,7 +16,8 @@ interface HandleProps {
|
||||
type: HandleType;
|
||||
position: Position;
|
||||
onConnect?: OnConnectFunc;
|
||||
isValidConnection?: () => boolean;
|
||||
isValidConnection?: (connection: Connection) => boolean;
|
||||
id?: string;
|
||||
}
|
||||
|
||||
const Handle = memo(
|
||||
|
||||
Reference in New Issue
Block a user