We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way we can make the default Text-component support the flex prop?
flex
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>
The text was updated successfully, but these errors were encountered:
Hey @selbekk Thank you for the issue
Have you read this thread? #132 (comment)
layout is not included in textRestyleFunctions
layout
textRestyleFunctions
For now instead, of using createText you can "manually" create your Text component to include the props you want.
createText
Text
Sorry, something went wrong.
No branches or pull requests
Is there a way we can make the default Text-component support the
flex
prop?Today, this doesn't work:
But this does:
The text was updated successfully, but these errors were encountered: