Summary

Styles in React Native are very similar to how CSS works in browser. In this chapter, you learned how to create and manage Style Sheets and add them to your components. If you ever find yourself frustrated with the layout then use the Flexbox section as a guide. Make sure to review where your main-axis and cross-axis are defined, as well as where the flex items are aligned along them. Feel free to go back to our components and play around with any of the styles before continuing with the next chapter.

Get Getting Started with React Native now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.