Merge pull request #1405 from react-native-community/fix/rncamera-docs

fix(docs): Header on the wrong position
This commit is contained in:
Sibelius Seraphini
2018-03-27 16:11:03 -03:00
committed by GitHub
+2 -2
View File
@@ -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.