React Native Style
There are different ways to design our component, by using inline style and by using StyleSheet.create. As the component increases in complexity, it is better to use StyleSheet.create to define several styles in one place.
React Native style Example 1
In this example, we will use both inline style as well as StyleSheet.create. Inline styles are applied at where the components are created.
React Native style Example 2