Skip to content

Commit 1f6fa7a

Browse files
committed
added the testids in the api files
1 parent bbb7fbe commit 1f6fa7a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/components/expandableSection/expandableSection.api.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"name": "onPress",
1616
"type": "() => void",
1717
"description": "Called when pressing the header of the ExpandableSection"
18-
}
18+
},
19+
{"name": "testID","type": "string","description": "testing identifier"}
1920
],
2021
"snippet": [
2122
"<ExpandableSection",

src/components/touchableOpacity/touchableOpacity.api.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
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"}
31+
{"name": "onPress", "type": "(props?: TouchableOpacityProps & {event: GestureResponderEvent} | any) => void", "description": "On press callback"},
32+
{"name": "testID", "type": "string", "description": "testing identifier"}
3233
],
3334
"snippet": [
3435
"<TouchableOpacity onPress={() => console.log('pressed')$1}/>"

0 commit comments

Comments
 (0)