This repository was archived by the owner on Jun 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +2425
-2010
lines changed
examples/ReactNativeTagsDemo Expand file tree Collapse file tree 4 files changed +2425
-2010
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,6 @@ class Tags extends React.Component {
1515 } ;
1616 }
1717
18- componentWillReceiveProps ( props ) {
19- const { initialTags = [ ] , initialText = " " } = props ;
20-
21- this . setState ( {
22- tags : initialTags ,
23- text : initialText
24- } ) ;
25- }
26-
2718 addTag = text => {
2819 this . setState (
2920 {
Original file line number Diff line number Diff line change 1212 "dependencies" : {
1313 "react" : " 16.9.0" ,
1414 "react-native" : " 0.61.5" ,
15- "react-native-tags" : " https://github.com/peterp/react-native-tags#v2.1 .0"
15+ "react-native-tags" : " https://github.com/peterp/react-native-tags#v2.2 .0"
1616 },
1717 "devDependencies" : {
1818 "@babel/core" : " ^7.6.2" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-tags" ,
3- "version" : " 2.1 .0" ,
3+ "version" : " 2.2 .0" ,
44 "description" : " Tag input component for React Native" ,
55 "keywords" : [
66 " react native" ,
2222 "author" : " Peter Pistorius <peter.pistorius@gmail.com> (http://github.com/peterp/)" ,
2323 "license" : " MIT" ,
2424 "peerDependencies" : {
25- "react" : " >= 16.0 " ,
26- "react-native" : " >= 0.44 "
25+ "react" : " >=16.13 " ,
26+ "react-native" : " >=0.61 "
2727 },
2828 "devDependencies" : {
29- "@babel/core" : " ^7.4.3 " ,
29+ "@babel/core" : " ^7.8.7 " ,
3030 "babel-preset-react-native" : " ^4.0.1" ,
31- "enzyme" : " ^3.9 .0" ,
32- "enzyme-adapter-react-16" : " ^1.12.1 " ,
33- "jest" : " ^24.7.1 " ,
31+ "enzyme" : " ^3.11 .0" ,
32+ "enzyme-adapter-react-16" : " ^1.15.2 " ,
33+ "jest" : " ^25.1.0 " ,
3434 "prop-types" : " ^15.7.2" ,
3535 "react" : " 16.8.3" ,
36- "react-dom" : " 16.8.3 " ,
36+ "react-dom" : " 16.13.0 " ,
3737 "react-native" : " ^0.59.5" ,
38- "react-test-renderer" : " ^16.8.3 "
38+ "react-test-renderer" : " ^16.13.0 "
3939 },
4040 "jest" : {
4141 "preset" : " react-native" ,
You can’t perform that action at this time.
0 commit comments