Skip to content
New issue

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

Add padding to AutoSizedImage #272

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

mrk-j
Copy link

@mrk-j mrk-j commented Oct 19, 2019

Hi guys,

Thanks for creating this component. I noticed the width of an image is always the width of the users' screen. This PR adds the ability to define a padding that is used when calculating the new width of the image.

I added a property autoSizedImagePadding. This also fixes issue #264.

This is my first react-native related PR so please tell me if there is anything that I can improve.

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.

None yet

1 participant