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 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