Replace PropTypes from react with form prop-types package
This commit is contained in:
parent
3ce9e10c2c
commit
fe074bb62b
@ -17,5 +17,8 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/gitim/react-native-sortable-list/issues"
|
||||
},
|
||||
"homepage": "https://github.com/gitim/react-native-sortable-list"
|
||||
"homepage": "https://github.com/gitim/react-native-sortable-list",
|
||||
"dependencies": {
|
||||
"prop-types": "^15.5.10"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import React, {Component, PropTypes} from 'react';
|
||||
import React, {Component} from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import {Animated, PanResponder, StyleSheet} from 'react-native';
|
||||
import {shallowEqual} from './utils';
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import React, {Component, PropTypes} from 'react';
|
||||
import React, {Component} from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import {ScrollView, View, StyleSheet, Platform, RefreshControl} from 'react-native';
|
||||
import {shallowEqual, swapArrayElements} from './utils';
|
||||
import Row from './Row';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user