Browse Source

add left button to pushed screen

Guy Carmeli 8 years ago
parent
commit
432cab17af
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      example-redux/src/screens/PushedScreen.js

+ 6
- 4
example-redux/src/screens/PushedScreen.js View File

21
     tabIndicatorColor: '#FF4081'
21
     tabIndicatorColor: '#FF4081'
22
   };
22
   };
23
 
23
 
24
-  static propTypes = {
25
-    str: PropTypes.string.isRequired,
26
-    obj: PropTypes.object.isRequired,
27
-    num: PropTypes.number.isRequired
24
+  static navigatorButtons = {
25
+    leftButton:
26
+      {
27
+        id: 'back',
28
+        color: '#00ff00'
29
+      }
28
   };
30
   };
29
 
31
 
30
   constructor(props) {
32
   constructor(props) {