This document is a React Native component that defines a simple user interface with two buttons: TouchableOpacity and TouchableHighlight. The TouchableOpacity button triggers an alert when pressed, while the TouchableHighlight button has an empty function assigned to its onPress event. The component also includes styling for the buttons and layout using StyleSheet.
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
0 views
data-2
This document is a React Native component that defines a simple user interface with two buttons: TouchableOpacity and TouchableHighlight. The TouchableOpacity button triggers an alert when pressed, while the TouchableHighlight button has an empty function assigned to its onPress event. The component also includes styling for the buttons and layout using StyleSheet.