refactor(hooks): rename useNodeDimensions to useNodeBounds

This commit is contained in:
moklick
2021-12-07 04:38:17 +01:00
parent d9c99a8a6d
commit 427c933389
3 changed files with 13 additions and 7 deletions
+5
View File
@@ -111,3 +111,8 @@ export type NodeInternalsItem = Node & {
};
export type NodeInternals = Map<string, NodeInternalsItem>;
export type NodeBounds = XYPosition & {
width: number | null;
height: number | null;
};