TP-00000 | Added mock (#123)

This commit is contained in:
shreyansu raj
2023-07-17 13:31:56 +05:30
committed by GitHub
parent 34bcd43539
commit 02071f5199

View File

@@ -9804,5 +9804,87 @@
"text": "Text 2"
}
}
},
"buttonWithDebounceMock": {
"parentComposeView": [
{
"property": {
"viewType": "Button",
"layoutId": "button",
"width": "MATCH_PARENT",
"height": "100",
"colors": {
"backgroundColor": "#483654"
},
"contentPadding": {
"start": 16,
"end": 16,
"top": 16,
"bottom": 16
},
"debounceTime": 2000
},
"childrenViews": [
{
"property": {
"viewType": "Text",
"layoutId": "button_text",
"width": "MATCH_PARENT",
"height": "MATCH_PARENT",
"text": "Button",
"textColor": "#FFFFFF",
"fontSize": 14,
"fontWeight": "TT_REGULAR",
"gravity": "CENTER",
"backgroundColor": "#937492"
}
}
]
}
],
"data": {
"button_text": {
"viewType": "Text",
"text": "Button"
}
}
},
"viewWithDebounceMock": {
"data": {
"spacer_1": {
"viewType": "Spacer",
"onClick": {
"actions": [
{
"type": "AnalyticsAction",
"eventName": "test_event_name"
}
]
}
}
},
"parentComposeView": [
{
"property": {
"viewType": "Spacer",
"layoutId": "spacer_1",
"height": "200",
"width": "200",
"shape": {
"shapeType": "RoundedCornerShape",
"radius": {
"topStart": 16,
"bottomEnd": 16
}
},
"backgroundColor": "#692738",
"padding": {
"start": 16,
"top": 16
},
"debounceTime": 2000
}
}
]
}
}