From 961baedb26716b0227f08e9cb94b42853910053c Mon Sep 17 00:00:00 2001 From: Tim Gibadullin Date: Fri, 4 Aug 2017 21:53:53 +0300 Subject: [PATCH] Replace PropTypes from react with form prop-types package (#677) --- Video.js | 3 ++- package.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Video.js b/Video.js index 4d69b333..b90c030e 100644 --- a/Video.js +++ b/Video.js @@ -1,4 +1,5 @@ -import React, {Component, PropTypes} from 'react'; +import React, {Component} from 'react'; +import PropTypes from 'prop-types'; import {StyleSheet, requireNativeComponent, NativeModules, View, Image} from 'react-native'; import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource'; import VideoResizeMode from './VideoResizeMode.js'; diff --git a/package.json b/package.json index fb7bde6e..c69d9b67 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ }, "dependencies": { "keymirror": "0.1.1", + "prop-types": "^15.5.10", "react-native-windows": "0.41.0-rc.0" }, "scripts": {