From 80f862e315657bf2e0da33938078c241b4420d9f Mon Sep 17 00:00:00 2001 From: Jon Kessler Date: Wed, 26 Jul 2017 11:52:49 -0700 Subject: [PATCH] Pull in prop-types dependency to avoid deprecation warnings --- package.json | 3 ++- src/CameraScreen/CameraKitCameraScreenBase.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a36a548..08ff8e4 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ }, "scripts": {}, "dependencies": { - "lodash": "^4.14.2" + "lodash": "^4.14.2", + "prop-types": "^15.5.10" }, "license": "MIT", "peerDependencies": { diff --git a/src/CameraScreen/CameraKitCameraScreenBase.js b/src/CameraScreen/CameraKitCameraScreenBase.js index 2c2c377..cfb884a 100644 --- a/src/CameraScreen/CameraKitCameraScreenBase.js +++ b/src/CameraScreen/CameraKitCameraScreenBase.js @@ -1,4 +1,5 @@ -import React, { Component, PropTypes } from 'react'; +import PropTypes from 'prop-types'; +import React, { Component } from 'react'; import { StyleSheet, Text,