Last active
June 28, 2021 18:21
-
-
Save rbro112/9be58602a98e9a284e09ec24b34c5b4f to your computer and use it in GitHub Desktop.
A sample of the GP IAction schema.
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
interface IAction {} | |
# A simple action that will navigate the user to the screen matching the screenId when invoked | |
type NavigateToScreen implements IAction { | |
screenId: String | |
} | |
# A sample TitleSection using an IAction type to handle the click of the subtitle | |
type TitleSection { | |
... | |
subtitle: String | |
# Action to be taken when tapping the subtitle | |
onSubtitleClickAction: IAction | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment