mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-23 01:08:07 +00:00
Merge pull request #1270 from Michaelvilleneuve/patch-1
Typo fix in docs/migration.md
This commit is contained in:
commit
2e891176b8
@ -55,7 +55,7 @@ Instead of importing `Camera`, now, you should import `{ RNCamera }` from `react
|
|||||||
|
|
||||||
On RCTCamera, you would set the camera `captureMode` to `still` or `video` and you could only record or take a picture depending on the `captureMode` of your `Camera`.
|
On RCTCamera, you would set the camera `captureMode` to `still` or `video` and you could only record or take a picture depending on the `captureMode` of your `Camera`.
|
||||||
|
|
||||||
On RNCamera you do not need to specify `captureMode`. The RNCameara, in any state, can record or take a picture calling the appropriate method.
|
On RNCamera you do not need to specify `captureMode`. The RNCamera, in any state, can record or take a picture calling the appropriate method.
|
||||||
|
|
||||||
### `capture` to `takePictureAsync` or `recordAsync`
|
### `capture` to `takePictureAsync` or `recordAsync`
|
||||||
|
|
||||||
@ -147,4 +147,4 @@ In RCTCamera, there was `flashMode` and `torchMode` prop. In RNCamera, these are
|
|||||||
|
|
||||||
### Other differences
|
### Other differences
|
||||||
|
|
||||||
Take a look into the [RCTCamera doc](https://github.com/react-native-community/react-native-camera/blob/master/docs/RCTCamera.md) and the [RNCamera doc](https://github.com/react-native-community/react-native-camera/blob/master/docs/RNCamera.md) to see more differences.
|
Take a look into the [RCTCamera doc](https://github.com/react-native-community/react-native-camera/blob/master/docs/RCTCamera.md) and the [RNCamera doc](https://github.com/react-native-community/react-native-camera/blob/master/docs/RNCamera.md) to see more differences.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user