Skip to content

Commit 6a1684d

Browse files
authored
Update README.md (#237)
Might be better to have the example consistent with the API
1 parent 7b10327 commit 6a1684d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Manual link information for Android: [Link](docs/android_manual_config.md)
3737
```javascript
3838
import ImageResizer from 'react-native-image-resizer';
3939

40-
ImageResizer.createResizedImage(imageUri, newWidth, newHeight, compressFormat, quality, rotation, outputPath)
40+
ImageResizer.createResizedImage(path, maxWidth, maxHeight, compressFormat, quality, rotation, outputPath)
4141
.then(response => {
4242
// response.uri is the URI of the new image that can now be displayed, uploaded...
4343
// response.path is the path of the new image

0 commit comments

Comments
 (0)