Replace PropTypes from react with form prop-types package (#677)
This commit is contained in:
parent
b303f991ce
commit
961baedb26
3
Video.js
3
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 {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';
|
||||||
|
@ -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": {
|
||||||
|
Loading…
Reference in New Issue
Block a user