v5.0.0-alpha.1
Pre-release
Pre-release
Enhancements
- Brand new
HTMLImagecomponent which should be much better at adapting its
size to available width. For this to happen, you must passcontentWidthprop. We recommend usinguseWindowDimensions().widthto handle screen rotation gracefully. If you don't want your images to grow after a certain size, you could usecomputeImagesMaxWidth. - New prop
computeImagesMaxWidth(see usage above). - New prop
contentWidth(see usage above).
Bugfixes
- Image getting blur on iOS, #141;
img's tagresizeModeproperty not modifiable throughtagStyles, #172;imagesMaxWidthnot working, #412
BREAKING CHANGES
imagesMaxWidthhad been discontinued in favor ofcomputeImagesMaxWidth.
This function takes the providedcontentWidthas an argument, and returns
the space the image should take.