Skip to content

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

Open
jpudysz wants to merge 1 commit intoTitanInvest:masterfrom
jpudysz:patch-1
Open

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

Conversation

@jpudysz
Copy link
Copy Markdown

@jpudysz jpudysz commented Oct 7, 2019

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