(e: GestureResponderEvent)
| 262 | }; |
| 263 | |
| 264 | const handlePressOut = (e: GestureResponderEvent) => { |
| 265 | onPressOut?.(e); |
| 266 | if (isV3 ? isMode('elevated') : isMode('contained')) { |
| 267 | const { scale } = animation; |
| 268 | Animated.timing(elevation, { |
| 269 | toValue: initialElevation, |
| 270 | duration: 150 * scale, |
| 271 | useNativeDriver: |
| 272 | isWeb || Platform.constants.reactNativeVersion.minor <= 72, |
| 273 | }).start(); |
| 274 | } |
| 275 | }; |
| 276 | |
| 277 | const flattenedStyles = (StyleSheet.flatten(style) || {}) as ViewStyle; |
| 278 | const [, borderRadiusStyles] = splitStyles( |
nothing calls this directly
no test coverage detected
searching dependent graphs…