Styling Our App
Learn to style your React Native application.
We'll cover the following
Up until now, we’ve looked at the different components of React Native without any specific styling in mind. Now let’s see how to add styling to our application.
Style
Styling in React Native is done using the style
prop, which is a JavaScript object. The styles are very similar to CSS. However, the names are in camel case. For example, margin-top
becomes marginTop
.
Get hands-on with 1400+ tech skills courses.