Skip to content

Merge default styles with custom styles for all text nodes - #5

Open
jpudysz wants to merge 1 commit into
TitanInvest:masterfrom
jpudysz:patch-1
Open

Merge default styles with custom styles for all text nodes#5
jpudysz wants to merge 1 commit into
TitanInvest:masterfrom
jpudysz:patch-1

Conversation

@jpudysz

@jpudysz jpudysz commented Oct 7, 2019

Copy link
Copy Markdown

Case:
Currently, we can't use user-defined styles for all text nodes, because the array created in renderText is invalid.

Solution:
We can use StyleSheet.flatten to merge extras.style and default text style.

Tested on both Android & iOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant