O'Reilly logo

Getting Started with React Native by Tom Bray, Ethan Holmes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required