mirror of
https://github.com/status-im/react-native-camera.git
synced 2026-08-30 21:21:06 +00:00
Merge pull request #1405 from react-native-community/fix/rncamera-docs
fix(docs): Header on the wrong position
This commit is contained in:
+2
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user