Splits a TextStyle in the ViewStyle and TextStyle properties. This can be really useful for forwarding on view
and text properties to different slots internal to a component.
The function correctly cleans out any undefined properties from the object spread.
Splits a
TextStyle
in theViewStyle
andTextStyle
properties. This can be really useful for forwarding on view and text properties to different slots internal to a component.The function correctly cleans out any undefined properties from the object spread.