Replace PropTypes from react with form prop-types package (#217)
This commit is contained in:
parent
4eba536639
commit
9a9d5aaf02
|
@ -20,5 +20,8 @@
|
|||
"bugs": {
|
||||
"url": "https://github.com/react-native-fellowship/react-native-blur/issues"
|
||||
},
|
||||
"homepage": "https://github.com/react-native-fellowship/react-native-blur"
|
||||
"homepage": "https://github.com/react-native-fellowship/react-native-blur",
|
||||
"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 { View, requireNativeComponent, DeviceEventEmitter, ViewPropTypes } from 'react-native';
|
||||
|
||||
const OVERLAY_COLORS = {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import React, { Component, PropTypes } from 'react';
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { View, requireNativeComponent, ViewPropTypes } from 'react-native';
|
||||
|
||||
class BlurView extends Component {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import React, { Component, PropTypes } from 'react';
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { requireNativeComponent } from 'react-native';
|
||||
|
||||
class VibrancyView extends Component {
|
||||
|
|
Loading…
Reference in New Issue