Let Text component support flex prop
selbekk opened this issue · comments
Is there a way we can make the default Text-component support the flex
prop?
Today, this doesn't work:
<Text flex="1">My text takes up all the space</Text>
But this does:
<Text style={{ flex: "1" }}>My text takes up all the space</Text>
Hey @selbekk
Thank you for the issue
Have you read this thread? #132 (comment)
layout
is not included intextRestyleFunctions
For now instead, of using createText
you can "manually" create your Text
component to include the props you want.