chore(svelte): cleanup handle types
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user