What events are available for the NativeBase components?
Say for example,
What other events those mentioned in React Native are supported with the NativeBase components?
This should be as simple as using the onPress method props on the button component:
<Button style={{ backgroundColor: 'grey'}} onPress={() =>alert('Add payment')} block >
<Icon name="ios-add-circle-outline" />
ADD PAYMENT
</Button>
All the props which are supported by touchable opacity in react native are supported by button component. button component justs adds some extra props along with touchable opacity.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With