Browse Source

Update styling-the-navigator.md

Guy Carmeli 7 years ago
parent
commit
d1d889d9a4
1 changed files with 10 additions and 1 deletions
  1. 10
    1
      docs/styling-the-navigator.md

+ 10
- 1
docs/styling-the-navigator.md View File

20
   }
20
   }
21
 ```
21
 ```
22
 
22
 
23
-#### Style object format
23
+## Setting styles dynamically
24
+Use the `setStyle` method to change a screen's style dynamically.
25
+
26
+```js
27
+this.props.navigator.setStyle({
28
+  navBarBackgroundColor: 'blue'
29
+});
30
+```
31
+
32
+## Style object format
24
 
33
 
25
 ```js
34
 ```js
26
 {
35
 {