{{-- Add events with components --}}
What events are available for the components?
Example buttons, list items etc.
Example buttons, list items etc.
Solution:
The NativeBase components are built on top of React Native components. Hence the callback events of React Native holds good with NativeBase components.
The NativeBase components are built on top of React Native components. Hence the callback events of React Native holds good with NativeBase components.
<i>Example:</i> The <code>Button</code> component is actually a wrapper of the <code>TouchableOpacity</code> component of React Native. So you can just use the <code>onPress</code> callback function for event handling.<br /><br />
Refer the
<a href="{{ url( 'cheatsheet' ) }}">cheatsheet</a>
for more details.
</div>
</div>