Created
July 29, 2021 14:32
-
-
Save abhinavlal/549083e1a339667bd8171d21cb8665b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "infoComponent", | |
"version": "v1", | |
"content": { | |
"title": "This is a title", | |
"subtitle": "This is a subtitle" | |
}, | |
"events": { | |
"onView": { | |
"actor": 13234, | |
"object": "doctor", | |
"action": "viewed", | |
"displayType": "mini-card" | |
}, | |
"onPress": { | |
"actor": 13234, | |
"object": "doctor", | |
"action": "interacted", | |
"displayType": "mini-card" | |
} | |
}, | |
"interactions": { | |
"onPress": { | |
"action": { | |
"element": "title", | |
"case": "deeplink", | |
"data": { | |
"url": "practo.com/doctor-profile" | |
} | |
}, | |
"event": { | |
"actor": 13234, | |
"object": "doctor", | |
"action": "interacted", | |
"displayType": "mini-card" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "SimpleCardComponent", | |
"version": "v1", | |
"content": { | |
"title": "Doctor Name", | |
"Subtitle": "MBSS", | |
"Headerline3": "$ratings$ afsafasf", | |
"HeaderLine4": "asfasfasf", | |
"HeaderLine5": "fasfasdasd", | |
"PrimaryImage": "http://", | |
"Bobyline1": "asdasd", | |
"Bobyline2": "asdasd", | |
"Bobyline3": "asdasd", | |
"Bobyline4": "asdasd", | |
"PrimaryButtonText": "Book Appointment", | |
"SecondaryButtonText": "Video Appointment" | |
}, | |
"modifiers": { | |
"bold": { | |
"element": "Subtitle" | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment