refactor(nodes): Add nodeElements prop again
* Remove templateRef and use regular ref (templateRef causes infinite re-renders)
This commit is contained in:
@@ -94,4 +94,6 @@ export interface NodeProps<Data = ElementData> {
|
||||
targetPosition?: Position
|
||||
sourcePosition?: Position
|
||||
dragHandle?: string
|
||||
|
||||
nodeElement: HTMLDivElement
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user