React Native Tutorial: Building Android Apps with JavaScript

You may have missed the part that says “Next, replace the App class definition with the following:” and right after that the SearchPage class is defined. If I’m misunderstanding what you’re asking let me know.