From 589a08192930f96aa4f7cf255aa4ac0adfd31a12 Mon Sep 17 00:00:00 2001 From: Felipe Cavalcante Constantino Date: Tue, 27 Mar 2018 09:59:31 -0300 Subject: [PATCH] fix(docs): Header on the wrong position "Component instance methods" header on the wrong position --- docs/RNCamera.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/RNCamera.md b/docs/RNCamera.md index 78f8827..f74943f 100644 --- a/docs/RNCamera.md +++ b/docs/RNCamera.md @@ -120,8 +120,6 @@ A string representing the camera ratio in the format 'height:width'. Default is Use `getSupportedRatiosAsync` method to get ratio strings supported by your camera on Android. -## Component instance methods - #### `type` Values: `RNCamera.Constants.Type.front` or `RNCamera.Constants.Type.back` (default) @@ -241,6 +239,8 @@ Only available in Android. RNCamera uses the Google Mobile Vision frameworks for Method to be called when text is detected. Receives a Text Recognized Event object. The interesting value of this object is the `textBlocks` value, which is an array with objects of the [TextBlock](https://developers.google.com/android/reference/com/google/android/gms/vision/text/TextBlock) properties. +## Component instance methods + #### `takePictureAsync([options]): Promise` Takes a picture, saves in your app's cache directory and returns a promise.