Using styled-components can greatly reduce some headaches when writing styling for React Native. It also has the benefit of you writing vanilla css compared to css in an object.
It has great support for react-native, just import it and you are ready to use it.
Highly suggest also installing the vscode extension for working with styled-components as it helps greatly.
Using
styled-components
can greatly reduce some headaches when writing styling for React Native. It also has the benefit of you writing vanilla css compared to css in an object.vs
http://styled-components.com/
It has great support for react-native, just import it and you are ready to use it. Highly suggest also installing the vscode extension for working with styled-components as it helps greatly.