react-image-crop
react-image-crop copied to clipboard
expand image to fit container
as mentioned in #108, i've set a width on the parent container:
<div style={{width: 400}}>
<ReactCrop ...>
<img ... />
</ReactCrop>
</div>
This works well when the image is larger than the container (the image is resized downward to fit in the container), but when the image is smaller than the container, it doesn't scale up to fit the container. Any way to accomplish this behavior?