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

can this library support loading local svg image instead of online uri image and how? #365

Open
ManuRodgers opened this issue Dec 8, 2018 · 2 comments

Comments

@ManuRodgers
Copy link

No description provided.

@oneroman
Copy link

@ManuRodgers since version 5 we are able to load local image assets; you can find release notes here. and this is the commit where it was done.

You shall be load using this kind of code:

        <FastImage
          style={this.props.yourStyle}
          source={require('../../../you_local_image.png')}
          resizeMode={FastImage.resizeMode.contain}
        />
@oneroman
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants