File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " react-native-animated-background-color" ,
3
- "version" : " 1.0.1 " ,
4
- "description" : " A modified React- Native 'View' component that animates it's 'backgroundColor' when 'color' prop changes." ,
2
+ "name" : " react-native-animated-background-color-view " ,
3
+ "version" : " 1.0.0 " ,
4
+ "description" : " A modified React Native 'View' component that animates it's 'backgroundColor' when 'color' prop changes." ,
5
5
"main" : " index.js" ,
6
6
"author" :
" Joey Schroeder <[email protected] > (joeyschroeder.com)" ,
7
7
"homepage" : " https://github.com/joeyschroeder/react-native-animated-background-color-view" ,
17
17
"url" : " https://github.com/joeyschroeder/react-native-animated-background-color-view.git"
18
18
},
19
19
"dependencies" : {
20
- "prop-types" : " ^15.6.1" ,
21
- "react" : " ^16.4.1" ,
22
- "react-native" : " ^0.55.4"
20
+ "prop-types" : " ^15.6.1"
23
21
},
24
22
"devDependencies" : {
25
23
"babel-eslint" : " ^8.2.3" ,
26
24
"babel-preset-react-native" : " ^4.0.0" ,
27
25
"eslint" : " ^4.19.1" ,
28
26
"eslint-plugin-react" : " ^7.9.1" ,
29
27
"eslint-plugin-react-native" : " ^3.2.1"
28
+ },
29
+ "peerDependencies" : {
30
+ "react" : " >= 15 || ~16.0.0-0" ,
31
+ "react-native" : " >=0.39"
30
32
}
31
33
}
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ AnimatedBackgroundColorView.propTypes = {
102
102
color : PropTypes . string ,
103
103
delay : PropTypes . number ,
104
104
duration : PropTypes . number ,
105
- easing : PropTypes . object ,
105
+ easing : PropTypes . function ,
106
106
initialColor : PropTypes . string ,
107
107
style : ViewPropTypes . style
108
108
} ;
You can’t perform that action at this time.
0 commit comments