Skip to content

Commit 80d565f

Browse files
committed
Removed testid from touchable opacity
1 parent 1f6fa7a commit 80d565f

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/components/touchableOpacity/index.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ export interface TouchableOpacityProps
4848
* Custom value of any type to pass on to TouchableOpacity and receive back in onPress callback
4949
*/
5050
customValue?: any;
51-
/**
52-
* Testing identifier
53-
*/
54-
testID?: string;
5551
style?: ViewProps['style'];
5652
onPress?: (props?: (TouchableOpacityProps & {event: GestureResponderEvent}) | any) => void;
5753
onPressIn?: (

src/components/touchableOpacity/touchableOpacity.api.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
},
2929
{"name": "style", "type": "ViewStyle", "description": "Custom style"},
3030
{"name": "recorderTag", "type": "'mask' | 'unmask'", "description": "Recorder Tag"},
31-
{"name": "onPress", "type": "(props?: TouchableOpacityProps & {event: GestureResponderEvent} | any) => void", "description": "On press callback"},
32-
{"name": "testID", "type": "string", "description": "testing identifier"}
31+
{"name": "onPress", "type": "(props?: TouchableOpacityProps & {event: GestureResponderEvent} | any) => void", "description": "On press callback"}
3332
],
3433
"snippet": [
3534
"<TouchableOpacity onPress={() => console.log('pressed')$1}/>"

0 commit comments

Comments
 (0)