Closed lyuzhicheng closed 4 years ago
how to make small image expanded to top edge or left edge?
i add this but still not work.
renderImage={(prop) => {
return (
<Image
{...prop}
resizeMode={"contain"}
/>
)
}}
displayed image is too small because of source image is too small; to solve this, when setState image, just set width && height as you expected;
resolved.
为什么部分图显示的这么小?