mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
add v1/legacy instructions
This commit is contained in:
parent
80d9ed6f25
commit
1ac4f82d20
@ -1,6 +1,8 @@
|
||||
# react-native-camera [](http://badge.fury.io/js/react-native-camera) [](https://gitter.im/lwansbrough/react-native-camera)
|
||||
|
||||
A camera module for React Native.
|
||||
A camera module for React Native.
|
||||
|
||||
**NOTE** These docs are for the work in progress v1 release. If you want to use the latest and greatest and can deal with *significant* instability you can install with `npm install --save lwansbrough/react-native-camera`. If you are using older version of this module please refer to the [old readme](https://github.com/lwansbrough/react-native-camera/tree/8cc61edef2c018b81e1c52f13c7d261fe6a35a63).
|
||||
|
||||

|
||||
|
||||
@ -78,7 +80,7 @@ class BadInstagramCloneApp extends Component {
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
takePicture() {
|
||||
this.camera.capture()
|
||||
.then((data) => console.log(data))
|
||||
|
Loading…
x
Reference in New Issue
Block a user