watchman
to the latest version. npm
install again. rnpm link
.<Button style={{backgroundColor: '#FF0000'}}>
Click me!
</Button>
Button
component is actually a wrapper of the TouchableOpacity
component of React Native. So you can just use the onPress
callback function for event handling.