I see that in react native if I set a fontFamily
in a, for example, a View
, the inner elements do not inherit it the property. Is it there a cascade concept available in react native styling? How do I accomplish it?
Apparently at this moment a component can only inherit a property of a parent only if the parent is of the same type or at least also support the property to inherit. I was setting fontFamily in the main View
component and wasn't being inherited in the Text
children.