({ nativeEvent: { layout } }: LayoutChangeEvent)
| 172 | }, [children.props, handleTouchEnd, isValidChild]); |
| 173 | |
| 174 | const handleOnLayout = ({ nativeEvent: { layout } }: LayoutChangeEvent) => { |
| 175 | childrenWrapperRef.current?.measure( |
| 176 | (_x, _y, width, height, pageX, pageY) => { |
| 177 | setMeasurement({ |
| 178 | children: { pageX, pageY, height, width }, |
| 179 | tooltip: { ...layout }, |
| 180 | measured: true, |
| 181 | }); |
| 182 | } |
| 183 | ); |
| 184 | }; |
| 185 | |
| 186 | const mobilePressProps = { |
| 187 | onPress: handlePress, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…