Skip to content

Commit 2bb2540

Browse files
authored
Fixed typo on line 91
1 parent 44661fc commit 2bb2540

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/QA.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ dependencies {
8383
## How can I resize captured images?
8484

8585
Currently, `RNCamera` does not allow for specifying the desired resolution of the captured image, nor does it natively expose any functionality to resize images.
86-
One way to achieve this (without any additional dependencies )is using [react-native.ImageEditor.cropImage](https://facebook.github.io/react-native/docs/imageeditor.html#cropimage).
86+
One way to achieve this (without any additional dependencies ) is using [react-native.ImageEditor.cropImage](https://facebook.github.io/react-native/docs/imageeditor.html#cropimage).
8787

8888
The strategy is:
8989

9090
1. Capture an image using `RNCamera`, which uses the device's max resolution.
91-
2. Use `react-native.ImageEditor.cropImage()` to crop the image using the image's native size as the crop size (thus maintaiing the original image), and the desired new size as the `displaySize` attribute (thus resizing the image).
91+
2. Use `react-native.ImageEditor.cropImage()` to crop the image using the image's native size as the crop size (thus maintaining the original image), and the desired new size as the `displaySize` attribute (thus resizing the image).
9292

9393
```javascript
9494
import React, { PureComponent } from 'react';

0 commit comments

Comments
 (0)