chore(svelte): cleanup handle types

This commit is contained in:
moklick
2023-03-14 23:51:50 +01:00
parent e9aa833fbf
commit e317e7dbbb
+5 -2
View File
@@ -2,8 +2,8 @@ import type { ShortcutModifierDefinition } from '@svelte-put/shortcut';
import type { import type {
Connection, Connection,
FitViewOptionsBase, FitViewOptionsBase,
HandleProps,
HandleType, HandleType,
Position,
XYPosition XYPosition
} from '@reactflow/system'; } from '@reactflow/system';
@@ -21,7 +21,10 @@ export type ConnectionData = {
status: string | null; status: string | null;
}; };
export type HandleComponentProps = Omit<HandleProps, 'isConnectable'> & { export type HandleComponentProps = {
type: HandleType;
position: Position;
id?: string;
class?: string; class?: string;
style?: string; style?: string;
}; };