Merge branch 'xyflow' of github.com:wbkd/react-flow into xyflow
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import type { Readable } from 'svelte/store';
|
||||
|
||||
import { useStore } from '$lib/store';
|
||||
import type { ConnectionProps } from '$lib/store/derived-connection-props';
|
||||
|
||||
export function useConnection(): Readable<ConnectionProps> {
|
||||
const { connection } = useStore();
|
||||
|
||||
return connection;
|
||||
}
|
||||
Reference in New Issue
Block a user