chore(core): add todos for parentId
This commit is contained in:
@@ -71,7 +71,10 @@ export interface Node<Data = ElementData, CustomEvents extends Record<string, Cu
|
|||||||
extent?: CoordinateExtent | CoordinateExtentRange | 'parent'
|
extent?: CoordinateExtent | CoordinateExtentRange | 'parent'
|
||||||
/** expands parent area to fit child node */
|
/** expands parent area to fit child node */
|
||||||
expandParent?: boolean
|
expandParent?: boolean
|
||||||
/** define node as a child node by setting a parent node id */
|
/**
|
||||||
|
* todo: rename to `parentId` in next major release
|
||||||
|
* define node as a child node by setting a parent node id
|
||||||
|
*/
|
||||||
parentNode?: string
|
parentNode?: string
|
||||||
/**
|
/**
|
||||||
* Fixed width of node, applied as style
|
* Fixed width of node, applied as style
|
||||||
@@ -168,7 +171,10 @@ export interface NodeProps<Data = ElementData, CustomEvents = object, Type exten
|
|||||||
* parent node id
|
* parent node id
|
||||||
*/
|
*/
|
||||||
parent?: string
|
parent?: string
|
||||||
/** parent node id */
|
/**
|
||||||
|
* todo: rename to `parentId` in next major release
|
||||||
|
* parent node id
|
||||||
|
*/
|
||||||
parentNodeId?: string
|
parentNodeId?: string
|
||||||
/** is node currently dragging */
|
/** is node currently dragging */
|
||||||
dragging: boolean
|
dragging: boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user