/react-native-scaledImage

An Image component which can be sacled written in pure javascript for cross-platform support.

Primary LanguageJavaScript

react-native-scaledImage

An Image component which can be sacled written in pure javascript for cross-platform support.

Documentation

Props

  • uri, uri of the image, required
  • width number, width of the image, optional
  • height number, width of the image, optional

Usage

<ScaledImage uri={image} />

// or
<ScaledImage uri={image} >
  {... some other View tag }
</ScaledImage>