diff --git a/src/FitImage.js b/src/FitImage.js index a033a44..10c66b0 100644 --- a/src/FitImage.js +++ b/src/FitImage.js @@ -117,7 +117,7 @@ class FitImage extends Image { if (this.style && this.style.width) { return { width: this.style.width }; } - return { flex: 1 }; + return { flexGrow: 1 }; } resize(event) {