add capturePictureToDisk to react component
This commit is contained in:
parent
7bc2120055
commit
2cf627809b
|
@ -73,7 +73,12 @@ var Camera = React.createClass({
|
|||
|
||||
takePicture: function(cb) {
|
||||
NativeModules.CameraManager.takePicture(cb);
|
||||
},
|
||||
|
||||
capturePictureToDisk: function(cb) {
|
||||
NativeModules.CameraManager.capturePictureToDisk(cb)
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
var RCTCamera = createReactIOSNativeComponentClass({
|
||||
|
|
Loading…
Reference in New Issue