(
{ pageY: childrenY, height: childrenHeight }: ChildrenMeasurement,
{ height: tooltipHeight }: TooltipLayout
)
| 81 | }; |
| 82 | |
| 83 | const getTooltipYPosition = ( |
| 84 | { pageY: childrenY, height: childrenHeight }: ChildrenMeasurement, |
| 85 | { height: tooltipHeight }: TooltipLayout |
| 86 | ): number => { |
| 87 | if (overflowBottom(childrenY, childrenHeight, tooltipHeight)) |
| 88 | return childrenY - tooltipHeight; |
| 89 | |
| 90 | return childrenY + childrenHeight; |
| 91 | }; |
| 92 | |
| 93 | const getChildrenMeasures = ( |
| 94 | style: StyleProp<ViewStyle>, |
no test coverage detected
searching dependent graphs…