mirror of
https://github.com/status-im/react-native-camera.git
synced 2026-08-31 05:31:07 +00:00
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user