File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,11 @@ import {
13
13
Animated ,
14
14
Dimensions ,
15
15
Text ,
16
- TouchableWithoutFeedback ,
17
- ViewPropTypes as RNViewPropTypes ,
16
+ TouchableWithoutFeedback
18
17
} from 'react-native'
19
18
20
19
import PropTypes from 'prop-types' ;
21
- const ViewPropTypes = RNViewPropTypes || View . propTypes ;
20
+ import { ViewPropTypes } from 'deprecated-react-native-prop-types' ;
22
21
export const DURATION = {
23
22
LENGTH_SHORT : 500 ,
24
23
FOREVER : 0 ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-easy-toast" ,
3
- "version" : " 2.0 .0" ,
3
+ "version" : " 2.1 .0" ,
4
4
"description" : " A react native module to show toast like android, it works on iOS and Android." ,
5
5
"main" : " index.js" ,
6
6
"types" : " index.d.ts" ,
29
29
"url" : " https://github.com/crazycodeboy/react-native-easy-toast/issues"
30
30
},
31
31
"dependencies" : {
32
+ "deprecated-react-native-prop-types" : " ^2.3.0" ,
32
33
"prop-types" : " ^15.6.0"
33
34
},
34
35
"peerDependencies" : {
35
36
"react-native" : " >=0.20.0" ,
36
37
"prop-types" : " ^15.5.7"
37
38
},
38
- "homepage" : " https://github.com/crazycodeboy/react-native-easy-toast#readme" ,
39
- "dependencies" : {
40
- "prop-types" : " ^15.5.10"
41
- }
39
+ "homepage" : " https://github.com/crazycodeboy/react-native-easy-toast#readme"
42
40
}
You can’t perform that action at this time.
0 commit comments