fix constants in defaultProps

This commit is contained in:
Zack 2016-02-15 14:58:04 -08:00
parent d786581d08
commit 8b25689456
1 changed files with 14 additions and 14 deletions

View File

@ -88,15 +88,15 @@ export default class Camera extends Component {
};
static defaultProps = {
aspect: Camera.constants.Aspect.fill,
type: Camera.constants.Type.back,
orientation: Camera.constants.Orientation.auto,
aspect: CameraManager.Aspect.fill,
type: CameraManager.Type.back,
orientation: CameraManager.Orientation.auto,
captureAudio: true,
captureMode: Camera.constants.CaptureMode.still,
captureTarget: Camera.constants.CaptureTarget.cameraRoll,
captureMode: CameraManager.CaptureMode.still,
captureTarget: CameraManager.CaptureTarget.cameraRoll,
defaultOnFocusComponent: true,
flashMode: Camera.constants.FlashMode.off,
torchMode: Camera.constants.TorchMode.off
flashMode: CameraManager.FlashMode.off,
torchMode: CameraManager.TorchMode.off
};
static checkDeviceAuthorizationStatus = CameraManager.checkDeviceAuthorizationStatus;