import React from 'react'; import { Handle, useNodeConnections } from '@xyflow/react'; const OnlyOneHandle = (props) => { const connections = useNodeConnections({ handleType: props.type, }); return ( ); }; export default OnlyOneHandle;