From 479bc6e5d83df528212cb7d78f696e848fd0bb21 Mon Sep 17 00:00:00 2001 From: Andrew Imm Date: Mon, 12 Jun 2017 15:59:06 -0700 Subject: [PATCH] Update remaining PropTypes references Reviewed By: bvaughn Differential Revision: D5231309 fbshipit-source-id: d54ee4f73dae63124f4462c138383447829a2551 --- CameraRoll.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CameraRoll.js b/CameraRoll.js index 89559bdd2..b66a3f30e 100644 --- a/CameraRoll.js +++ b/CameraRoll.js @@ -12,7 +12,8 @@ */ 'use strict'; -const {PropTypes, checkPropTypes} = require('React'); +const PropTypes = require('prop-types'); +const {checkPropTypes} = PropTypes; const RCTCameraRollManager = require('NativeModules').CameraRollManager; const createStrictShapeTypeChecker = require('createStrictShapeTypeChecker');