Replace PropTypes from react with form prop-types package (#677)

This commit is contained in:
Tim Gibadullin 2017-08-04 21:53:53 +03:00 committed by Matt Apperson
parent b303f991ce
commit 961baedb26
2 changed files with 3 additions and 1 deletions

View File

@ -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 {StyleSheet, requireNativeComponent, NativeModules, View, Image} from 'react-native';
import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource'; import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource';
import VideoResizeMode from './VideoResizeMode.js'; import VideoResizeMode from './VideoResizeMode.js';

View File

@ -28,6 +28,7 @@
}, },
"dependencies": { "dependencies": {
"keymirror": "0.1.1", "keymirror": "0.1.1",
"prop-types": "^15.5.10",
"react-native-windows": "0.41.0-rc.0" "react-native-windows": "0.41.0-rc.0"
}, },
"scripts": { "scripts": {