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