Return closestInstance in getInspectorDataForViewAtPoint (#25118)

This commit is contained in:
Tianyu Yao authored and GitHub committed 2022-08-24 11:26:08 -07:00
1 parent 181525338e
commit 3f70e68cea
2 files changed
+2

No files matched your search

@@ -217,6 +217,7 @@ if (__DEV__) {
pointerY: locationY,
frame: {left: pageX, top: pageY, width, height},
touchedViewTag: nativeViewTag,
closestInstance,
});
},
);
@@ -150,6 +150,7 @@ export type InspectorData = $ReadOnly<{|
export type TouchedViewDataAtPoint = $ReadOnly<{|
pointerY: number,
touchedViewTag?: number,
closestInstance?: Object,
frame: $ReadOnly<{|
top: number,
left: number,