While it is very important to leverage the devices processing power in executing code on the native layer in our React Native application, it is equally important to leverage its rendering power to show native UI components. React Native can render any UI component that is an implementation of
UIView inside an application. These components can be lists, form fields, tables, graphics, and so on.
For this recipe, we created a React Native application titled
In this recipe, we will take a native
UIButton and expose it as a React Native view component. You will be able to set the button label and attach a handler for when it is tapped.