chore: fix prop types in edge wrapper
This commit is contained in:
@@ -9,10 +9,10 @@ interface Props {
|
|||||||
name: string
|
name: string
|
||||||
source: string
|
source: string
|
||||||
target: string
|
target: string
|
||||||
sourceNode: GraphNode
|
sourceNode?: GraphNode
|
||||||
targetNode: GraphNode
|
targetNode?: GraphNode
|
||||||
targetHandleId: string | null
|
targetHandleId?: string | null
|
||||||
sourceHandleId: string | null
|
sourceHandleId?: string | null
|
||||||
selectable?: boolean
|
selectable?: boolean
|
||||||
updatable?: boolean
|
updatable?: boolean
|
||||||
label?: string | VNode | Component<EdgeTextProps> | Object
|
label?: string | VNode | Component<EdgeTextProps> | Object
|
||||||
|
|||||||
Reference in New Issue
Block a user