add capturePictureToDisk to react component

This commit is contained in:
Zack 2015-04-30 21:04:16 -07:00
parent 7bc2120055
commit 2cf627809b
1 changed files with 5 additions and 0 deletions

View File

@ -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({