You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,8 +119,8 @@ ReactDOM.render(
119
119
|`context`|`string`|`this.options.context`| Custom file context, defaults to webpack.config.js [context](https://webpack.js.org/configuration/entry-context/#context)|
120
120
|`sizes`|`array`|*original size*| Specify all widths you want to use; if a specified size exceeds the original image's width, the latter will be used (i.e. images won't be scaled up). You may also declare a default `sizes` array in the loader options in your `webpack.config.js`. |
121
121
|`size`|`integer`|*original size*| Specify one width you want to use; if the specified size exceeds the original image's width, the latter will be used (i.e. images won't be scaled up) |
122
-
|`min`|`integer`|| As an alternative to manually specifying `sizes`, you can specify `min`, `max` and `steps`, and the sizes will be generated for you. |
123
-
|`max`|`integer`|| See `min` above |
122
+
|`max`|`integer`|| As an alternative to manually specifying `sizes`, you can specify `min`, `max` and `steps`, and the sizes will be generated for you. |
123
+
|`min`|`integer`|max / size | See `max` above |
124
124
|`steps`|`integer`|`4`| Configure the number of images generated between `min` and `max` (inclusive) |
0 commit comments