Closed pickhardt closed 9 years ago
It was so that you could pass in separate strings that get coalesced into a single
<Button>
Increment count to {currentCount + 1}
</Button>
would create <Text>Increment count to {currentCount + 1}</Text>
somewhere in the view hierarchy instead of having two Text components.
What's the purpose of _renderGroupedChildren?
I'm trying to include an icon in a button, so it looks like:
However, Button seems to only work if you include plain text without any children, like Icon or Text.