How to use the react-native-fast-image.resizeMode function in react-native-fast-image

To help you get started, we’ve selected a few react-native-fast-image examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github syun0216 / goforeat / app / components / CommonComment.js View on Github external
{defaultImage: require('../asset/delicious-normal.png'), activeImage: require('../asset/delicious-press.png'), name: 'delicious', val: 5},
    ];
    const {currentStar,currentComment: {orderName, picture}} = this.state;
    const defaultImg = "https://img.xiumi.us/xmi/ua/18Wf8/i/98c314a76260a9634beecfd27c28770d-sz_80962.jpg?x-oss-process=style/xmr";
    console.log(this.state.commentTags);
    return (
      
        {/*<img style="{styles.topImg}">*/}
        
        
      
    )
  }
github SkyzohKey / M-Droid / src / components / SearchResultRow / index.js View on Github external
render() {
    const { appIconPath, appName, appSummary, onPress } = this.props;
    return (
      
    );
  }
github SkyzohKey / M-Droid / src / components / RepoListRow / index.js View on Github external
render() {
    const { iconPath, name, summary, enabled, isLatestRow, onPress, onSwitch } = this.props;

    return (
github rainbow-me / rainbow / src / components / unique-token / UniqueTokenImage.js View on Github external
&gt;
        {name}
      
    )}
  
));

UniqueTokenImage.propTypes = {
  backgroundColor: PropTypes.string,
  borderRadius: PropTypes.number,
  error: PropTypes.object,
  fallbackTextColor: PropTypes.string,
  imageUrl: PropTypes.string,
  name: PropTypes.string,
  onError: PropTypes.func,
  resizeMode: PropTypes.oneOf(Object.values(FastImage.resizeMode)),
};

UniqueTokenImage.defaultProps = {
  borderRadius: 0,
  resizeMode: 'cover',
};

export default UniqueTokenImage;
github syun0216 / goforeat / app / components / Swiper.js View on Github external
props.adDetail.map((item, idx) =&gt; (
             NavigationService.navigate("Content", {
                data: item,
                kind: "warning"
              })
            }&gt;
              
            
          ))}
github instamobile / react-native-starter-kit / src / screens / HomeScreen.js View on Github external
return (
         {
            navigation.openDrawer();
          }}
        &gt;
          {navigation.state.params &amp;&amp; navigation.state.params.menuIcon ? (
            
          ) : (
            
          )}
        
      );
    }
  });
github syun0216 / goforeat / app / components / PlacePickerModel.js View on Github external
this.popupDialog &amp;&amp; this.popupDialog.show();
      }}&gt;
        
        
      
    )
  }

react-native-fast-image

🚩 FastImage, performant React Native image component.

MIT
Latest version published 2 years ago

Package Health Score

61 / 100
Full package analysis