File tree Expand file tree Collapse file tree 4 files changed +1574
-2
lines changed Expand file tree Collapse file tree 4 files changed +1574
-2
lines changed Original file line number Diff line number Diff line change 2929    "commitizen" : {
3030      "path" : " ./node_modules/cz-conventional-changelog" 
3131    }
32+   },
33+   "dependencies" : {
34+     "prop-types" : " ^15.6.0" 
3235  }
3336}
Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ import React from 'react'
22import  {  
33  View , 
44}  from  'react-native' 
5+ import  PropTypes  from  'prop-types' 
56
67
78export  default  class  FlatListItem  extends  React . PureComponent  { 
89  static  propTypes  =  { 
9-     viewComponent : React . PropTypes . element . isRequired 
10+     viewComponent : PropTypes . element . isRequired 
1011  } ; 
1112
1213  constructor ( props )  { 
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import React from 'react'
22import  {  
33  FlatList , 
44}  from  'react-native' 
5- 
65import  FlatListItem  from  './FlatListItem' 
76
87export  default  class  OptimizedFlatList  extends  React . PureComponent  { 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments