function MyComponent(props) { return ( <View {...props} style={{ flex: 1, backgroundColor: '#fff' }}> <Text>My Component</Text> </View> ); } <TouchableHighlight activeOpacity={0.6} underlayColor="#DDDDDD" onPress={() => alert('Pressed!')}> <MyComponent /> </TouchableHighlight>;