File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -149,8 +149,8 @@ class NavBarContent extends React.Component {
149149 let titleContent ;
150150 let TitleComponent ;
151151 let trans ;
152- let width ;
153- let color ;
152+ const width = this . props . borderBottomWidth ? this . props . borderBottomWidth : 0 ;
153+ const color = this . props . borderColor ? this . props . borderColor : null ;
154154
155155 /**
156156 * Set leftCorner
@@ -261,9 +261,6 @@ class NavBarContent extends React.Component {
261261 trans = { } ;
262262 }
263263
264- width = this . props . borderBottomWidth ? this . props . borderBottomWidth : 0 ;
265- color = this . props . borderColor ? this . props . borderColor : null ;
266-
267264 return (
268265 < Animated . View
269266 style = {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class NavButton extends React.Component {
3333
3434 if ( this . props . backButtonComponent ) {
3535 BackButton = this . props . backButtonComponent ;
36- backButton = < View > < BackButton /> </ View > ;
36+ backButton = < View > < BackButton /> </ View > ;
3737 } else {
3838 backButton = < Text style = { this . styles . navbarText } > Back</ Text > ;
3939 }
Original file line number Diff line number Diff line change 4040 "react-native" : " *"
4141 },
4242 "devDependencies" : {
43- "eslint" : " ^1.10.3" ,
44- "eslint-config-airbnb" : " ^3.1.0" ,
45- "eslint-plugin-react" : " ^3.15.0"
43+ "eslint" : " ^2.7.0" ,
44+ "eslint-config-airbnb" : " ^7.0.0" ,
45+ "eslint-plugin-react" : " ^4.3.0" ,
46+ "eslint-plugin-jsx-a11y" : " ^0.6.2"
4647 }
4748}
You can’t perform that action at this time.
0 commit comments