I\'ve started to work with react-native few days ago and after some extensive search I weren\'t able to find answers for 2 (simple?) questions:
How can I ch
You have two options:
Text
component with the default styling you desire, and reuse it everywhere. (Like you mentioned)StyleSheet
object that is accessible globally and use it in every Text
component. I think #1 is the best option. Despite the overhead of swapping all your
out, it offers better flexibility in your project's future.
There is no way to change all existing Text
components unless you create a branch of the react-native
library and modify the source code for Text
. I do not recommend this method.