File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,11 @@ import {
1313 Animated ,
1414 Dimensions ,
1515 Text ,
16- TouchableWithoutFeedback ,
17- ViewPropTypes as RNViewPropTypes ,
16+ TouchableWithoutFeedback
1817} from 'react-native'
1918
2019import PropTypes from 'prop-types' ;
21- const ViewPropTypes = RNViewPropTypes || View . propTypes ;
20+ import { ViewPropTypes } from 'deprecated-react-native-prop-types' ;
2221export const DURATION = {
2322 LENGTH_SHORT : 500 ,
2423 FOREVER : 0 ,
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-easy-toast" ,
3- "version" : " 2.0 .0" ,
3+ "version" : " 2.1 .0" ,
44 "description" : " A react native module to show toast like android, it works on iOS and Android." ,
55 "main" : " index.js" ,
66 "types" : " index.d.ts" ,
2929 "url" : " https://github.com/crazycodeboy/react-native-easy-toast/issues"
3030 },
3131 "dependencies" : {
32+ "deprecated-react-native-prop-types" : " ^2.3.0" ,
3233 "prop-types" : " ^15.6.0"
3334 },
3435 "peerDependencies" : {
3536 "react-native" : " >=0.20.0" ,
3637 "prop-types" : " ^15.5.7"
3738 },
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"
4240}
You can’t perform that action at this time.
0 commit comments