refactor(nodes): Add nodeElements prop again

* Remove templateRef and use regular ref (templateRef causes infinite re-renders)
This commit is contained in:
Braks
2022-04-11 11:30:10 +02:00
parent f63e1571ae
commit 6b76b8be06
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -94,4 +94,6 @@ export interface NodeProps<Data = ElementData> {
targetPosition?: Position
sourcePosition?: Position
dragHandle?: string
nodeElement: HTMLDivElement
}