mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add testID to movingBox example
Summary: Changelog: [Internal] - Add testID to moving box example for testing Reviewed By: yungsters Differential Revision: D30824961 fbshipit-source-id: 1e25f25a49d064eee6e17aebc2d981648a0559bc
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7f7f8188f2
commit
14ecf84a9c
@@ -78,7 +78,7 @@ function MovingBoxView({useNativeDriver}: {useNativeDriver: boolean}) {
|
||||
};
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<View style={styles.boxContainer}>
|
||||
<View testID="moving-view-track" style={styles.boxContainer}>
|
||||
{boxVisible ? (
|
||||
<Animated.View
|
||||
testID="moving-view"
|
||||
|
||||
Reference in New Issue
Block a user