Touchable defines clickable areas in your application in widgets that are not clickable by default.
See how the structure is represented:
|onPress||Action||✓||Defines one or more actions to
be performed when a |
|click Analytic Event||Analytics Click||Click event that will be triggered if an analytics service was implemented.|
|child||Server DrivenComponent||✓||Defines a widget that will trigger the onPress attribute.|
Touchable(onPress = listOf( Alert(title = "Image", message = "Clicked on Message")), child = Text("Text with action") )
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.