React Native Scalable Image Versions Save

React Native Image component which scales width or height automatically to keep the original aspect ratio

1.1.0

3 years ago
  • Fixed the inifinite re-rerendering loop
  • Added possibility to provide custom Image component

1.0.0

4 years ago
  • Rewrote the library with hooks. Thanks @matthewfbenjamin !

0.5.0

5 years ago
  • Added Typescript type declarations (thx @mtnptrsn)

0.4.0

6 years ago
  • Added onSize callback prop which is called when image size is calculated

0.3.0

6 years ago
  • Added possibility to use scalable image as a background image (thx @ikhsanalatsary)
  • Added recomputing image size when props are updated (thx @brendan-rius)

0.2.1

6 years ago
  • Switched to the prop-types npm package instead of React.PropTypes

0.2.0

6 years ago
  • Added support for static images. Thanks @spoeck for the pull request.

0.1.5

6 years ago
  • Added maxWidth and maxHeight props
  • Fixed issue with updating state of an unmounted image