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 style support on wrapped image #49

Closed
wants to merge 4 commits into from

Conversation

Baptiste-Garcin
Copy link

I add an imageProps parameter that should contain the style that must be applied to the wrapped image.
The style passed to the image will be combine with StyleSheet.absoluteFillObject (position: 'absolute', top: 0, bottom: 0, right: 0, left: 0).

I also update the ReadMe file.

index.js Outdated
@@ -148,10 +150,12 @@ export const createImageProgress = ImageComponent =>
renderIndicator,
source,
style,
threshold,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my eslint told me that treshold was not used anymore so...

@marcolino
Copy link

PLEASE, accept this PR...

@oblador
Copy link
Owner

oblador commented Feb 24, 2018

Closed in favor of #50

@oblador oblador closed this Feb 24, 2018
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

3 participants