Skip to content

Instantly share code, notes, and snippets.

@lamvd0101
Created October 27, 2022 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lamvd0101/8d4383d9893b2ebd6a46d1363821b320 to your computer and use it in GitHub Desktop.
Save lamvd0101/8d4383d9893b2ebd6a46d1363821b320 to your computer and use it in GitHub Desktop.
import React from 'react';
import {View} from 'react-native';
import FastImage from 'react-native-fast-image';
export default () => {
return (
<View
style={{
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#ffffff',
}}>
<FastImage
style={{width: 326, height: 348}}
source={{
uri: 'https://developers.tiki.vn/img/tiniapp-ecosystem.png',
}}
resizeMode={FastImage.resizeMode.contain}
/>
</View>
);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment