From 2bb254076631b60bb0d33ab53b9ab3be5c1807f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Here=C3=B1=C3=BA?= Date: Wed, 25 Dec 2019 02:30:25 -0300 Subject: [PATCH] Fixed typo on line 91 --- docs/QA.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/QA.md b/docs/QA.md index 347f08857..41a6cd1af 100644 --- a/docs/QA.md +++ b/docs/QA.md @@ -83,12 +83,12 @@ dependencies { ## How can I resize captured images? Currently, `RNCamera` does not allow for specifying the desired resolution of the captured image, nor does it natively expose any functionality to resize images. -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). +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). The strategy is: 1. Capture an image using `RNCamera`, which uses the device's max resolution. -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). +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). ```javascript import React, { PureComponent } from 'react';