We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
stretch
viewStyle={{ alignSelf: 'stretch' }}
The viewStyle={{ alignSelf: 'stretch' }} is a common practice. Instead of typing all of that, a stretch property would improve the DX.
#7 (comment)
The text was updated successfully, but these errors were encountered:
Added in v7.0.0.
Sorry, something went wrong.
Sorry, but where i must to erite it? I don't understand it. <Shadow distance={15} offset={[0, 4]} viewStyle={{ alignSelf: 'stretch' }} > ??
Hi Inna! To use it, do the following:
<Shadow {...etc} // Other props you may want stretch >
The stretch property is a shortcut for the viewStyle={{ alignSelf: 'stretch' }}, so, it's a quicker way to have this behavior.
Let me know if it is not yet clear!
No branches or pull requests
The
viewStyle={{ alignSelf: 'stretch' }}
is a common practice. Instead of typing all of that, astretch
property would improve the DX.#7 (comment)
The text was updated successfully, but these errors were encountered: