fix(core): add ref to base edge props

This commit is contained in:
braks
2023-07-10 19:20:26 +02:00
committed by Braks
parent 903583a399
commit 40732f2559
+2 -1
View File
@@ -1,4 +1,4 @@
import type { CSSProperties, Component, VNode } from 'vue'
import type { CSSProperties, Component, VNode, VNodeRef } from 'vue'
import type { ClassFunc, ElementData, Position, StyleFunc, Styles } from './flow'
import type { GraphNode } from './node'
import type { EdgeComponent, EdgeTextProps } from './components'
@@ -201,6 +201,7 @@ export interface BaseEdgeProps extends EdgeLabelOptions {
markerEnd?: string
interactionWidth?: number
style?: CSSProperties
ref?: VNodeRef
}
export type BezierEdgeProps = EdgePositions &