chore: fix prop types in edge wrapper

This commit is contained in:
Braks
2022-05-27 23:36:01 +02:00
parent de60d924ff
commit dd86e04a03
@@ -9,10 +9,10 @@ interface Props {
name: string
source: string
target: string
sourceNode: GraphNode
targetNode: GraphNode
targetHandleId: string | null
sourceHandleId: string | null
sourceNode?: GraphNode
targetNode?: GraphNode
targetHandleId?: string | null
sourceHandleId?: string | null
selectable?: boolean
updatable?: boolean
label?: string | VNode | Component<EdgeTextProps> | Object