File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 28
28
```
29
29
compile project(': react-native-navbar-style ')
30
30
```
31
+
31
32
##Requirements
32
33
33
34
Changing the NavigationBar color is only supported on Android Lollipop(API 21) and above.
@@ -56,4 +57,35 @@ await NavbarStyle.setLightNavbar(true);
56
57
57
58
// Normal Navbar(Light Icons)
58
59
await NavbarStyle .setLightNavbar (false );
60
+ ```
61
+
62
+
63
+ ##Examples
64
+
65
+ #Colored Navbar with Light Icons
66
+
67
+ ![ Purple Navbar with Light Icon] ( https://bit.ly/2Yuf9wK )
68
+
69
+ ``` javascript
70
+ NavbarStyle .setNavbarColor (' #8e44ad' );
71
+ await NavbarStyle .setLightNavbar (false );
72
+ ```
73
+
74
+ #Light Navbar with dark icons
75
+
76
+ ![ Light Navbar with dark Icons] ( https://bit.ly/2Nt9tSr )
77
+
78
+ ``` javascript
79
+ NavbarStyle .setNavbarColor (' #ecf0f1' );
80
+ await NavbarStyle .setLightNavbar (true );
81
+ ```
82
+
83
+
84
+ #Colored Navbar with dark icons
85
+
86
+ ![ Colored Navbar with dark Icons] ( https://bit.ly/2XeClgL )
87
+
88
+ ``` javascript
89
+ NavbarStyle .setNavbarColor (' #16a085' );
90
+ await NavbarStyle .setLightNavbar (true );
59
91
```
You can’t perform that action at this time.
0 commit comments